共用方式為


IAvailabilityGroupState.NumberOfDisconnectedReplicas 屬性

Gets the number of replicas that are not in a "Connected" state.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("AvailabilityGroupState_NumberOfDisconnectedReplicasName")> _
<DisplayDescriptionKeyAttribute("AvailabilityGroupState_NumberOfDisconnectedReplicasDesc")> _
ReadOnly Property NumberOfDisconnectedReplicas As Integer 
    Get
'用途
Dim instance As IAvailabilityGroupState 
Dim value As Integer 

value = instance.NumberOfDisconnectedReplicas
[DisplayNameKeyAttribute("AvailabilityGroupState_NumberOfDisconnectedReplicasName")]
[DisplayDescriptionKeyAttribute("AvailabilityGroupState_NumberOfDisconnectedReplicasDesc")]
int NumberOfDisconnectedReplicas { get; }
[DisplayNameKeyAttribute(L"AvailabilityGroupState_NumberOfDisconnectedReplicasName")]
[DisplayDescriptionKeyAttribute(L"AvailabilityGroupState_NumberOfDisconnectedReplicasDesc")]
property int NumberOfDisconnectedReplicas {
    int get ();
}
[<DisplayNameKeyAttribute("AvailabilityGroupState_NumberOfDisconnectedReplicasName")>]
[<DisplayDescriptionKeyAttribute("AvailabilityGroupState_NumberOfDisconnectedReplicasDesc")>]
abstract NumberOfDisconnectedReplicas : int
function get NumberOfDisconnectedReplicas () : int

屬性值

型別:System.Int32
The number of replicas that are not in a "Connected" state.

請參閱

參考

IAvailabilityGroupState 介面

Microsoft.SqlServer.Management.Smo 命名空間