IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole 속성

Gets the number of replicas that are neither a primary or a secondary in the Availability Group.

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

구문

‘선언
<DisplayDescriptionKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleDesc")> _
<DisplayNameKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleName")> _
ReadOnly Property NumberOfReplicasWithUnhealthyRole As Integer 
    Get
‘사용 방법
Dim instance As IAvailabilityGroupState 
Dim value As Integer 

value = instance.NumberOfReplicasWithUnhealthyRole
[DisplayDescriptionKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleDesc")]
[DisplayNameKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleName")]
int NumberOfReplicasWithUnhealthyRole { get; }
[DisplayDescriptionKeyAttribute(L"AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleDesc")]
[DisplayNameKeyAttribute(L"AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleName")]
property int NumberOfReplicasWithUnhealthyRole {
    int get ();
}
[<DisplayDescriptionKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleDesc")>]
[<DisplayNameKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleName")>]
abstract NumberOfReplicasWithUnhealthyRole : int
function get NumberOfReplicasWithUnhealthyRole () : int

속성 값

유형: System.Int32
The number of replicas that are neither a primary or a secondary in the Availability Group.

참고 항목

참조

IAvailabilityGroupState 인터페이스

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