Aracılığıyla paylaş


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)

Syntax

'Bildirim
Public ReadOnly Property NumberOfReplicasWithUnhealthyRole As Integer
    Get
'Kullanım
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

Property Value

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

Implements

IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole

See Also

Reference

AvailabilityGroupState Class

Microsoft.SqlServer.Management.Smo Namespace