BackupDeviceItem 构造函数 (String, DeviceType)
Initializes a new instance of the [BackupDeviceItem] class that has the specified name and kind of device.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Sub New ( _
name As String, _
deviceType As DeviceType _
)
用法
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
)
参数
- name
类型:System.String
A String value that specifies the name of the backup device item.
- deviceType
类型:Microsoft.SqlServer.Management.Smo.DeviceType
A [BackupDeviceType] object value that specifies the kind of backup device.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间