AvailabilityGroupState.NumberOfReplicasWithUnhealthyRole 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property NumberOfReplicasWithUnhealthyRole As Integer 
    Get
用法
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

属性值

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

实现

IAvailabilityGroupState.NumberOfReplicasWithUnhealthyRole

请参阅

参考

AvailabilityGroupState 类

Microsoft.SqlServer.Management.Smo 命名空间