Try to using smo in .NET
-
2012년 4월 16일 월요일 오전 8:34
hi
i am trying to take backup of my sql server data base from the .net window application
for this i already added flowing references
Microsoft.SqlServer.Smo
Microsoft.SqlServer.ConnectionInfo
and following namespace
- Microsoft.SqlServer.Management.Smo;
- Microsoft.SqlServer.Management.Common;
But still when i am trying to create object of backup class
Backup sqlBackup = new Backup();
type or namespace name 'Backup' could not be found (are you missing a using directive or an assembly reference?)
Suggest me what i have to do ..
Thanks
모든 응답
-
2012년 4월 16일 월요일 오전 8:45
(are you missing a using directive or an assembly reference?)
Hello,
And, have you added the using directive in you code?
using Microsoft.SqlServer.Management.Smo;
Olaf Helper
* cogito ergo sum * errare humanum est * quote erat demonstrandum *
Wenn ich denke, ist das ein Fehler und das beweise ich täglich
Blog Xing -
2012년 4월 16일 월요일 오전 9:30
i already added..
Reference and namespace both in my code..
-
2012년 4월 16일 월요일 오전 9:33
hi i able to solve ...
i need to add one more reference
Microsoft.SqlServer.SmoExtended reference.
thnx
- 답변으로 표시됨 Stephanie LvModerator 2012년 4월 17일 화요일 오전 2:59
-
2012년 4월 16일 월요일 오후 2:53

