IAvailabilityGroupState IAvailabilityGroupState IAvailabilityGroupState Interface

Definition

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

public interface class IAvailabilityGroupState : Microsoft::SqlServer::Management::Common::IRefreshable, Microsoft::SqlServer::Management::Sdk::Sfc::IDmfFacet
[Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("AvailabilityGroupStateDesc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("AvailabilityGroupStateName")]
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Smo.FacetSR")]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public interface IAvailabilityGroupState : Microsoft.SqlServer.Management.Common.IRefreshable, Microsoft.SqlServer.Management.Sdk.Sfc.IDmfFacet
Public Interface IAvailabilityGroupState
Implements IDmfFacet, IRefreshable
Derived
Attributes
Implements
Microsoft.SqlServer.Management.Common.IRefreshableMicrosoft.SqlServer.Management.Common.IRefreshableMicrosoft.SqlServer.Management.Common.IRefreshable IDmfFacetIDmfFacetIDmfFacet

Properties

IsAutoFailover IsAutoFailover IsAutoFailover

Returns true if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover.

IsOnline IsOnline IsOnline

Indicates whether the Availability Group is up.

NumberOfDisconnectedReplicas NumberOfDisconnectedReplicas NumberOfDisconnectedReplicas

Gets the number of replicas that are not in a "Connected" state.

NumberOfNotSynchronizedReplicas NumberOfNotSynchronizedReplicas NumberOfNotSynchronizedReplicas

Gets the number of replicas that are not in a "Synchronized" state.

NumberOfNotSynchronizingReplicas NumberOfNotSynchronizingReplicas NumberOfNotSynchronizingReplicas

Gets the number of replicas in a "Not Synchronizing" state.

NumberOfReplicasWithUnhealthyRole NumberOfReplicasWithUnhealthyRole NumberOfReplicasWithUnhealthyRole

Gets the number of replicas that are neither a primary or a secondary in the Availability Group.

NumberOfSynchronizedSecondaryReplicas NumberOfSynchronizedSecondaryReplicas NumberOfSynchronizedSecondaryReplicas

Gets the number of synchronous secondary replicas with Automatic Failover mode and Synchronized state.

Applies to