<add key ="BACKUP_DATABASE_SERVER" value ="Data Source=admin\SQLEXPRESS;User ID=****;Password=****;"/>
SERVER_NAME=admin\SQLEXPRESS; Server srv = new Server(SERVER_NAME); //DataTable dtServers = SmoApplication.EnumAvailableSqlServers(true); ServerConnection srvConn = srv.ConnectionContext; srvConn.LoginSecure = true; //string strBackupDir = srv.Settings.BackupDirectory; DatabaseCollection objDatabases =srv.Databases;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)