SqlBackupAsync 方法
Performs the database backup operation asynchronously as specified by the properties of the Backup object used.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Sub SqlBackupAsync ( _
srv As Server _
)
用法
Dim instance As Backup
Dim srv As Server
instance.SqlBackupAsync(srv)
public void SqlBackupAsync(
Server srv
)
public:
void SqlBackupAsync(
Server^ srv
)
member SqlBackupAsync :
srv:Server -> unit
public function SqlBackupAsync(
srv : Server
)
参数
- srv
类型:Microsoft.SqlServer.Management.Smo. . :: . .Server
The Server object that represents the MicrosoftSQL Server instance that is the source of the backup operation.
注释
To perform a database backup operation using SQL Server Management Objects (SMO), the application specifies the operation process by setting Backup object properties, and then it calls the SQLBackup(Server) method.