BackupDeviceList.AddDevice 메서드
Adds device type with the specified name to the list.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)
구문
‘선언
Public Sub AddDevice ( _
name As String, _
deviceType As DeviceType _
)
‘사용 방법
Dim instance As BackupDeviceList
Dim name As String
Dim deviceType As DeviceType
instance.AddDevice(name, deviceType)
public void AddDevice(
string name,
DeviceType deviceType
)
public:
void AddDevice(
String^ name,
DeviceType deviceType
)
member AddDevice :
name:string *
deviceType:DeviceType -> unit
public function AddDevice(
name : String,
deviceType : DeviceType
)
매개 변수
- name
유형: System.String
String value that is used to specify the name of the device that is being added to the BackupDeviceList object.
- deviceType
유형: Microsoft.SqlServer.Management.Smo.DeviceType
DeviceType object value that specifies the type of device to add to the BackupDeviceList object.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스