Sunday, 15 April 2012

What using statement must be added to use the Backup class in c# -



What using statement must be added to use the Backup class in c# -

i want utilize backup class create backup of database.

backup backup =new backup();

however, not know namespace class found in.

i added microsoft.sqlserver.smoextended.dll , microsoft.sqlserver.smo.dll

now work !

thanks all

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

namespace: microsoft.sqlserver.management.smo

assembly: microsoft.sqlserver.smo (in microsoft.sqlserver.smo.dll)

based on comment of using statement not working have add together .dll reference. project->add reference in menu toolbar in vs.net.

c#

No comments:

Post a Comment