Compartilhar via


Propriedade do RDL AvailabilityGroupState.NumberOfReplicasWithUnhealthyRole

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public ReadOnly Property NumberOfReplicasWithUnhealthyRole As Integer 
    Get
'Uso
Dim instance As AvailabilityGroupState 
Dim value As Integer 

value = instance.NumberOfReplicasWithUnhealthyRole
public int NumberOfReplicasWithUnhealthyRole { get; }
public:
virtual property int NumberOfReplicasWithUnhealthyRole {
    int get () sealed;
}
abstract NumberOfReplicasWithUnhealthyRole : int 
override NumberOfReplicasWithUnhealthyRole : int
final function get NumberOfReplicasWithUnhealthyRole () : int

Valor da propriedade

Tipo: System.Int32
The number of replicas that are neither a primary or a secondary in the availability group.

Implementa

IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole

Consulte também

Referência

AvailabilityGroupState Classe

Namespace Microsoft.SqlServer.Management.Smo