Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Represents an adapter class that implements the IAvailabilityGroupState logical facet for an availability group.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Smo.AvailabilityGroupState
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Class AvailabilityGroupState _
Implements IAvailabilityGroupState, IDmfFacet, IDmfAdapter, IRefreshable
'Utilisation
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
Le type AvailabilityGroupState expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
AvailabilityGroupState | Initializes a new instance of the AvailabilityGroupState class with the specified availability group. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
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. |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
Refresh | Reloads the availability group. |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)