Implemented by database connections which provide backup and restore capabilities.
Name | Description | |
---|---|---|
BackupDatabaseAsync(string databaseName, string destinationPath, System.Threading.CancellationToken cancellationToken) |
When implemented by a derived class, backs up the specified database to the specified path. |
|
RestoreDatabaseAsync(string databaseName, string sourcePath, System.Threading.CancellationToken cancellationToken) |
When implemented by a derived class, restores the specified database from the specified path. |