Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Backup.SqlBackup(Server) Method

Definition

Namespace:
Microsoft.SqlServer.Management.Smo
Assembly:
Microsoft.SqlServer.SmoExtended.dll
Package:
Microsoft.SqlServer.SqlManagementObjects v150.18208.0
Package:
Microsoft.SqlServer.SqlManagementObjects v160.2004021.0
Package:
Microsoft.SqlServer.SqlManagementObjects v172.64.0

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Runs backup operation synchronously, i.e. the function call blocks untill the backup is done.

public void SqlBackup(Microsoft.SqlServer.Management.Smo.Server srv);
member this.SqlBackup : Microsoft.SqlServer.Management.Smo.Server -> unit
Public Sub SqlBackup (srv As Server)

Parameters

srv
Server

Server to run backup on.

Applies to