Partager via


SqlBackupAsync méthode

Performs the database backup operation asynchronously as specified by the properties of the Backup object used.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Sub SqlBackupAsync ( _
    srv As Server _
)
'Utilisation
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
)

Paramètres

Notes

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.