IAvailabilityGroupState Properties

 

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

NameDescription
System_CAPS_pubpropertyIsAutoFailover

Returns true if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover.

System_CAPS_pubpropertyIsOnline

Indicates whether the Availability Group is up.

System_CAPS_pubpropertyNumberOfDisconnectedReplicas

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

System_CAPS_pubpropertyNumberOfNotSynchronizedReplicas

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

System_CAPS_pubpropertyNumberOfNotSynchronizingReplicas

Gets the number of replicas in a "Not Synchronizing" state.

System_CAPS_pubpropertyNumberOfReplicasWithUnhealthyRole

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

System_CAPS_pubpropertyNumberOfSynchronizedSecondaryReplicas

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

Return to top
Show: