Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Represents an adapter class that implements the IAvailabilityGroupState logical facet for an availability group.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Management.Smo.AvailabilityGroupState
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Class AvailabilityGroupState _
Implements IAvailabilityGroupState, IDmfFacet, IDmfAdapter, IRefreshable
'Uso
Dim instance As AvailabilityGroupState
public class AvailabilityGroupState : IAvailabilityGroupState,
IDmfFacet, IDmfAdapter, IRefreshable
public ref class AvailabilityGroupState : IAvailabilityGroupState,
IDmfFacet, IDmfAdapter, IRefreshable
type AvailabilityGroupState =
class
interface IAvailabilityGroupState
interface IDmfFacet
interface IDmfAdapter
interface IRefreshable
end
public class AvailabilityGroupState implements IAvailabilityGroupState, IDmfFacet, IDmfAdapter, IRefreshable
El tipo AvailabilityGroupState expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
AvailabilityGroupState | Initializes a new instance of the AvailabilityGroupState class with the specified availability group. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
IsAutoFailover | Gets a value that indicates whether the failover mode of the current primary replica of the availability group is set to automatic failover. |
![]() |
IsOnline | Gets whether the availability group is online. |
![]() |
NumberOfDisconnectedReplicas | Gets the number of replicas that are not in a “Connected” state. |
![]() |
NumberOfNotSynchronizedReplicas | Gets the number of replicas that are not in a “Synchronized” state. |
![]() |
NumberOfNotSynchronizingReplicas | Gets the number of replicas in a “Not Synchronizing” state. |
![]() |
NumberOfReplicasWithUnhealthyRole | Gets the number of replicas that are neither a primary or a secondary in the Availability Group. |
![]() |
NumberOfSynchronizedSecondaryReplicas | Gets the number of synchronous secondary replicas with Automatic Failover mode and Synchronized state. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
Refresh | Reloads the availability group. |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
.gif)
.gif)
.gif)