Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AvailabilityGroupState Properties

SQL Server 2012

The AvailabilityGroupState type exposes the following members.

  Name Description
Public property IsAutoFailover Gets a value that indicates whether the failover mode of the current primary replica of the availability group is set to automatic failover.
Public property IsOnline Gets whether the availability group is online.
Public property NumberOfDisconnectedReplicas Gets the number of replicas that are not in a “Connected” state.
Public property NumberOfNotSynchronizedReplicas Gets the number of replicas that are not in a “Synchronized” state.
Public property NumberOfNotSynchronizingReplicas Gets the number of replicas in a “Not Synchronizing” state.
Public property NumberOfReplicasWithUnhealthyRole Gets the number of replicas that are neither a primary or a secondary in the Availability Group.
Public property NumberOfSynchronizedSecondaryReplicas Gets the number of synchronous secondary replicas with Automatic Failover mode and Synchronized state.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.