다음을 통해 공유


Database.MirroringPartnerInstance 속성

Gets the instance of SQL Server on which the mirroring partner is configured.

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

구문

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

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

속성 값

유형: System.String
A String value that specifies the instance of SQL Server.

데이터베이스 개체 작업

참고 항목

참조

Database 클래스

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

관련 자료

데이터베이스 미러링 관리

끝점 구현

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

CREATE DATABASE(Transact-SQL)