Partager via


Propriété AvailabilityGroupState.NumberOfReplicasWithUnhealthyRole

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property NumberOfReplicasWithUnhealthyRole As Integer 
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole

Voir aussi

Référence

AvailabilityGroupState Classe

Espace de noms Microsoft.SqlServer.Management.Smo