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)
Syntax
'Deklaracja
Public Sub New ( _
server As Server, _
name As String _
)
public BackupDevice (
Server server,
string name
)
public:
BackupDevice (
Server^ server,
String^ name
)
public BackupDevice (
Server server,
String name
)
public function BackupDevice (
server : Server,
name : String
)
Parameters
- server
A Server object value that specifies the SQL Server instance that contains the backup device.
- name
A String value that specifies the name of the backup device.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also
Reference
BackupDevice Class
BackupDevice Members
Microsoft.SqlServer.Management.Smo Namespace