BackupDeviceItem 클래스

The BackupDeviceItem object provides programmatic access to named SQL Server backup devices.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.BackupDeviceItem

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

구문

‘선언
Public Class BackupDeviceItem _
    Implements IComparable
‘사용 방법
Dim instance As BackupDeviceItem
public class BackupDeviceItem : IComparable
public ref class BackupDeviceItem : IComparable
type BackupDeviceItem =  
    class 
        interface IComparable 
    end
public class BackupDeviceItem implements IComparable

BackupDeviceItem 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 BackupDeviceItem() Initializes a new instance of the BackupDeviceItem class.
공용 메서드 BackupDeviceItem(String, DeviceType) Initializes a new instance of the [BackupDeviceItem] class that has the specified name and kind of device.

맨 위로 이동

속성

  이름 설명
공용 속성 DeviceType Gets the kind of device for the BackupDeviceItem object.
공용 속성 Name Gets the name of device for the BackupDeviceItem object.

맨 위로 이동

메서드

  이름 설명
공용 메서드 CompareTo Verifies whether the specified object shares the same name as the referenced BackupDeviceItem object.
공용 메서드 Equals Determines whether the current object is the same as the specified object. (Object.Equals(Object)을(를) 재정의함)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode Gets the hash code for the object. (Object.GetHashCode()을(를) 재정의함)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

연산자

  이름 설명
공용 연산자정적 멤버 Equality Determines whether two objects are equal by performing an equality operation on two BackupDeviceItem objects.
공용 연산자정적 멤버 GreaterThan Determines whether one object is greater than another by performing an operation on two BackupDeviceItem objects.
공용 연산자정적 멤버 Inequality Determines whether two objects are unequal by performing an inequality operation on two BackupDeviceItem objects.
공용 연산자정적 멤버 LessThan Determines whether one object is less than another by performing an operation on two BackupDeviceItem objects.

맨 위로 이동

주의

With the BackupDeviceItem object, you can do the following:

  • Access the backup device by name.

  • Verify whether two named backup devices are the same.

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

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

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

관련 자료

BACKUP(Transact-SQL)