Server.BackupDevices 속성

Represents a collection of BackupDevice objects. Each BackupDevice object represents a backup device defined on the instance of SQL Server.

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

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(BackupDevice))> _
Public ReadOnly Property BackupDevices As BackupDeviceCollection 
    Get
‘사용 방법
Dim instance As Server 
Dim value As BackupDeviceCollection 

value = instance.BackupDevices
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(BackupDevice))]
public BackupDeviceCollection BackupDevices { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(BackupDevice))]
public:
property BackupDeviceCollection^ BackupDevices {
    BackupDeviceCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(BackupDevice))>]
member BackupDevices : BackupDeviceCollection
function get BackupDevices () : BackupDeviceCollection

속성 값

유형: Microsoft.SqlServer.Management.Smo.BackupDeviceCollection
A BackupDeviceCollection object that represents all the backup devices defined on the instance of SQL Server.

주의

A tape drive or disk drive that is used in a backup or restore operation is referred to as a backup device. When you create backups, you must select a backup device to write the data on. For more information, see 백업 장치(SQL Server).

참고 항목

참조

Server 클래스

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

관련 자료

컬렉션 사용

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

서버 관리