Share via


AvailabilityGroupState 클래스

Represents an adapter class that implements the IAvailabilityGroupState logical facet for an availability group.

상속 계층

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Class AvailabilityGroupState _
    Implements IAvailabilityGroupState, IDmfFacet, IDmfAdapter, IRefreshable
‘사용 방법
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

AvailabilityGroupState 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 AvailabilityGroupState Initializes a new instance of the AvailabilityGroupState class with the specified availability group.

맨 위로 이동

속성

  이름 설명
공용 속성 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.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Refresh Reloads the availability group.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스