hai expert....
which is the namespace for the Server Class ?
thanks..............
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manikavelu VelayuthamRank #413 · 6K reputationPosted Sep 27, 2010, 11:21 PM EDT
Soumya Surendran84 reputationPosted Sep 28, 2010, 12:42 AM EDT
public void (string databaseName, string filePath)
{
try
{
Server localServer = new Server(); //local using windows athuentication
Backup backupMgr = new Backup();
backupMgr.Devices.AddDevice(filePath, DeviceType.File);
backupMgr.Database = databaseName;
backupMgr.Action = BackupActionType.Database;
backupMgr.SqlBackup(localServer);
}
catch(Exception ex)
{
MessageBox.Show(ex.Message + " " + ex.InnerException);
}
}
Manikavelu VelayuthamRank #413 · 6K reputationPosted Sep 28, 2010, 12:56 AM EDT
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Soumya Surendran84 reputationPosted Sep 28, 2010, 1:27 AM EDT
Manikavelu VelayuthamRank #413 · 6K reputationPosted Sep 28, 2010, 1:38 AM EDT
X64 Package (SQLServer2005_XMO_x64.msi) - 14675 KB
Microsoft reccomends it.
Soumya Surendran84 reputationPosted Sep 28, 2010, 2:33 AM EDT
Manikavelu VelayuthamRank #413 · 6K reputationPosted Sep 28, 2010, 3:04 AM EDT
Soumya Surendran84 reputationPosted Sep 28, 2010, 3:05 AM EDT
Manikavelu VelayuthamRank #413 · 6K reputationPosted Sep 28, 2010, 3:16 AM EDT
Just go to this link and try to install any of the below 2 items and then try for it.
SQLServer2005_XMO_ia64.msi
SQLServer2005_XMO.msi