共用方式為


SqlBackup 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Sub SqlBackup ( _
    srv As Server _
)
'用途
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
)

參數

備註

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.