TechNet
Export (0) Print
Expand All

IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole Property

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[DisplayDescriptionKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleDesc")]
[DisplayNameKeyAttribute("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleName")]
int NumberOfReplicasWithUnhealthyRole { get; }

Property Value

Type: System.Int32

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

Return to top
Show:
© 2016 Microsoft