Method | Description | |
---|---|---|
Restore ( string databaseName, string backUpFile, string serverName, string userName = null, string password = null ) : void |
Restores a SQL database from a backup file. Warning: closes all existing connections
|
|
SqlRestore ( Configuration configuration = null ) : System |
Method | Description | |
---|---|---|
DoExecute ( ) : void |
public static Restore ( string databaseName, string backUpFile, string serverName, string userName = null, string password = null ) : void | ||
databaseName | string | |
backUpFile | string | Backup File accesible from the SQL Server |
serverName | string | SQL server instance |
userName | string | |
password | string | |
return | void |
public SqlRestore ( Configuration configuration = null ) : System | ||
configuration | Configuration | |
return | System |