다음을 통해 공유


BackupDevice.BackupDeviceType 속성

Gets or sets the type of backup device of the backup device.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property BackupDeviceType As BackupDeviceType 
    Get 
    Set
‘사용 방법
Dim instance As BackupDevice 
Dim value As BackupDeviceType 

value = instance.BackupDeviceType

instance.BackupDeviceType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public BackupDeviceType BackupDeviceType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property BackupDeviceType BackupDeviceType {
    BackupDeviceType get ();
    void set (BackupDeviceType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member BackupDeviceType : BackupDeviceType with get, set
function get BackupDeviceType () : BackupDeviceType 
function set BackupDeviceType (value : BackupDeviceType)

속성 값

유형: Microsoft.SqlServer.Management.Smo.BackupDeviceType
A BackupDeviceType object that specifies the device type of the backup device. By default, the value is not specified.

데이터베이스 및 트랜잭션 로그 백업 및 복원

참고 항목

참조

BackupDevice 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

백업 장치(SQL Server)