Compartir a través de


SqlBackup Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Sub SqlBackup ( _
    srv As Server _
)
'Uso
Dim instance As Backup
Dim srv As Server

instance.SqlBackup(srv)
public void SqlBackup(
    Server srv
)
public:
void SqlBackup(
    Server^ srv
)
member SqlBackup : 
        srv:Server -> unit 
public function SqlBackup(
    srv : Server
)

Parámetros

Notas

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.