c# namespaces for SQL management, used for sql server backup -


i trying pragmatically run backup of sql server database using c# .net 3.5/4.0. have found out how accomplish this, can't seem find namespace libraries used backup.

i looking microsoft.sqlserver.management libraries, can't find these anywhere. have installed sql server 2005 enterprise , of tools samples , libraries still don't seem appear in visual studio (version 2010)

any input appreciated, thanks.

you find them under:

"c:\program files (x86)\microsoft sql server\100\sdk\assemblies"

(thats on 64-bit machine sql 2008.)
need 3 of following assemblies:

  • microsoft.sqlserver.smo.dll
  • microsoft.sqlserver.sqlenum.dll
  • microsoft.sqlserver.smoenum.dll

http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo(v=sql.90).aspx


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -