BackupDevice Constructor (Server, String)

 

Initializes a new instance of the BackupDevice class with the specified name and on the specified instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public BackupDevice(
	Server server,
	string name
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server

A Server object value that specifies the SQL Server instance that contains the backup device.

name
Type: System.String

A String value that specifies the name of the backup device.

Return to top
Show: