مشاركة عبر


AvailabilityGroupState.NumberOfSynchronizedSecondaryReplicas Property

Gets the number of synchronous secondary replicas with Automatic Failover mode and Synchronized state.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property NumberOfSynchronizedSecondaryReplicas As Integer 
    Get
'Usage
Dim instance As AvailabilityGroupState 
Dim value As Integer 

value = instance.NumberOfSynchronizedSecondaryReplicas
public int NumberOfSynchronizedSecondaryReplicas { get; }
public:
virtual property int NumberOfSynchronizedSecondaryReplicas {
    int get () sealed;
}
abstract NumberOfSynchronizedSecondaryReplicas : int 
override NumberOfSynchronizedSecondaryReplicas : int
final function get NumberOfSynchronizedSecondaryReplicas () : int

Property Value

Type: System.Int32
The number of synchronous secondary replicas.

Implements

IAvailabilityGroupState.NumberOfSynchronizedSecondaryReplicas

See Also

Reference

AvailabilityGroupState Class

Microsoft.SqlServer.Management.Smo Namespace