Costruttore BackupDeviceItem (String, DeviceType)
Initializes a new instance of the [BackupDeviceItem] class that has the specified name and kind of device.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
name As String, _
deviceType As DeviceType _
)
'Utilizzo
Dim name As String
Dim deviceType As DeviceType
Dim instance As New BackupDeviceItem(name, deviceType)
public BackupDeviceItem(
string name,
DeviceType deviceType
)
public:
BackupDeviceItem(
String^ name,
DeviceType deviceType
)
new :
name:string *
deviceType:DeviceType -> BackupDeviceItem
public function BackupDeviceItem(
name : String,
deviceType : DeviceType
)
Parametri
- name
Tipo: System.String
A String value that specifies the name of the backup device item.
- deviceType
Tipo: Microsoft.SqlServer.Management.Smo.DeviceType
A [BackupDeviceType] object value that specifies the kind of backup device.
Esempi
Backup e ripristino dei database e dei log delle transazioni
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo