Compartir a través de


AvailabilityGroupState.NumberOfReplicasWithUnhealthyRole Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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 de la propiedad

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

Implementa

IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole

Vea también

Referencia

AvailabilityGroupState Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo