AvailabilityGroupState.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)

public 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: