Export (0) Print
Expand All

IAvailabilityGroupState Interface

 

Applies To: SQL Server 2016 Preview

Represents the adapter class that implements the IAvailabilityGroupState logical facet for an Availability Group.

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

No code example is currently available or this language may not be supported.

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.

NameDescription
System_CAPS_pubmethodRefresh()

(Inherited from IRefreshable.)

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft