Compartir a través de


BackupDeviceItem Constructor (String, DeviceType)

Initializes a new instance of the [BackupDeviceItem] class that has the specified name and kind of device.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Sub New ( _
    name As String, _
    deviceType As DeviceType _
)
'Uso
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
)

Parámetros