Partager via


IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole Property

Definition

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

[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleDesc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleName")]
public int NumberOfReplicasWithUnhealthyRole { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleDesc")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("AvailabilityGroupState_NumberOfReplicasWithUnhealthyRoleName")>]
member this.NumberOfReplicasWithUnhealthyRole : int
Public ReadOnly Property NumberOfReplicasWithUnhealthyRole As Integer

Property Value

Attributes

Applies to