다음을 통해 공유


Database.MirroringStatus 속성

Gets the status of the database and the database mirroring session.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringStatus As MirroringStatus 
    Get
‘사용 방법
Dim instance As Database 
Dim value As MirroringStatus 

value = instance.MirroringStatus
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public MirroringStatus MirroringStatus { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property MirroringStatus MirroringStatus {
    MirroringStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MirroringStatus : MirroringStatus
function get MirroringStatus () : MirroringStatus

속성 값

유형: Microsoft.SqlServer.Management.Smo.MirroringStatus
A MirroringStatus object value that specifies the status of the database and mirroring session.

데이터베이스 개체 작업

참고 항목

참조

Database 클래스

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

관련 자료

데이터베이스 미러링 관리

끝점 구현

데이터베이스 생성, 변경 및 제거

CREATE DATABASE(Transact-SQL)