다음을 통해 공유


ServerMirroringRole 속성

Gets or sets the server mirroring role.

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

구문

‘선언
<SfcPropertyAttribute> _
Public Property ServerMirroringRole As ServerMirroringRole
    Get
    Set
‘사용 방법
Dim instance As DatabaseMirroringPayload
Dim value As ServerMirroringRole

value = instance.ServerMirroringRole

instance.ServerMirroringRole = value
[SfcPropertyAttribute]
public ServerMirroringRole ServerMirroringRole { get; set; }
[SfcPropertyAttribute]
public:
property ServerMirroringRole ServerMirroringRole {
    ServerMirroringRole get ();
    void set (ServerMirroringRole value);
}
[<SfcPropertyAttribute>]
member ServerMirroringRole : ServerMirroringRole with get, set
function get ServerMirroringRole () : ServerMirroringRole
function set ServerMirroringRole (value : ServerMirroringRole)

속성 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerMirroringRole
A ServerMirroringRole object value that specifies the server mirroring role.

예제

끝점 구현