Backup.SqlBackupAsync Method
Performs the database backup operation asynchronously as specified by the properties of the Backup object used.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Sub SqlBackupAsync ( _
srv As Server _
)
'Usage
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
)
Parameters
- srv
Type: Microsoft.SqlServer.Management.Smo.Server
The Server object that represents the MicrosoftSQL Server instance that is the source of the backup operation.
Remarks
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.
See Also