TechNet
Export (0) Print
Expand All

AvailabilityGroupState Properties

 

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

NameDescription
System_CAPS_pubpropertyIsAutoFailover

Gets a value that indicates whether the failover mode of the current primary replica of the availability group is set to automatic failover.

System_CAPS_pubpropertyIsOnline

Gets whether the availability group is online.

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:
© 2016 Microsoft