AvailabilityGroupState Class

 

Represents an 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)

System.Object
  Microsoft.SqlServer.Management.Smo.AvailabilityGroupState

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

NameDescription
System_CAPS_pubmethodAvailabilityGroupState(AvailabilityGroup)

Initializes a new instance of the AvailabilityGroupState class with the specified availability group.

NameDescription
System_CAPS_pubpropertyIsAutoFailover

Gets a value that indicates whether the failover mode of the current primary replica of the availability group is set to automatic failover.

System_CAPS_pubpropertyIsOnline

Gets whether the availability group is online.

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_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRefresh()

Reloads the availability group.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: