Export (0) Print
Expand All

IAvailabilityGroupState Interface

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)

'Declaration
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")> _
<DisplayNameKeyAttribute("AvailabilityGroupStateName")> _
<DisplayDescriptionKeyAttribute("AvailabilityGroupStateDesc")> _
Public Interface IAvailabilityGroupState _
	Inherits IDmfFacet, IRefreshable
'Usage
Dim instance As IAvailabilityGroupState

The IAvailabilityGroupState type exposes the following members.

  NameDescription
Public propertyIsAutoFailoverReturns true if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover.
Public propertyIsOnlineIndicates whether the Availability Group is up.
Public propertyNumberOfDisconnectedReplicasGets the number of replicas that are not in a "Connected" state.
Public propertyNumberOfNotSynchronizedReplicasGets the number of replicas that are not in a "Synchronized" state.
Public propertyNumberOfNotSynchronizingReplicasGets the number of replicas in a "Not Synchronizing" state.
Public propertyNumberOfReplicasWithUnhealthyRoleGets the number of replicas that are neither a primary or a secondary in the Availability Group.
Public propertyNumberOfSynchronizedSecondaryReplicasGets the number of synchronous secondary replicas with Automatic Failover mode and Synchronized state.
Top

  NameDescription
Public methodRefreshRefreshes object properties by reading them from the server. (Inherited from IRefreshable.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft