Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute("AvailabilityGroupStateName")]
[DisplayDescriptionKeyAttribute("AvailabilityGroupStateDesc")]
public interface IAvailabilityGroupState : IDmfFacet, IRefreshable

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

Community Additions

Show:
© 2015 Microsoft