DatabaseReplicaState.ReplicaRole 속성

Gets the role of the availability replica.

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

구문

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

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRole
The role of the availability replica.

참고 항목

참조

DatabaseReplicaState 클래스

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