다음을 통해 공유


IAvailabilityGroupState 인터페이스

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

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

구문

‘선언
<DisplayDescriptionKeyAttribute("AvailabilityGroupStateDesc")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")> _
<DisplayNameKeyAttribute("AvailabilityGroupStateName")> _
Public Interface IAvailabilityGroupState _
    Inherits IDmfFacet, IRefreshable
‘사용 방법
Dim instance As IAvailabilityGroupState
[DisplayDescriptionKeyAttribute("AvailabilityGroupStateDesc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute("AvailabilityGroupStateName")]
public interface IAvailabilityGroupState : IDmfFacet, 
    IRefreshable
[DisplayDescriptionKeyAttribute(L"AvailabilityGroupStateDesc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute(L"AvailabilityGroupStateName")]
public interface class IAvailabilityGroupState : IDmfFacet, 
    IRefreshable
[<DisplayDescriptionKeyAttribute("AvailabilityGroupStateDesc")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")>]
[<DisplayNameKeyAttribute("AvailabilityGroupStateName")>]
type IAvailabilityGroupState =  
    interface 
        interface IDmfFacet 
        interface IRefreshable 
    end
public interface IAvailabilityGroupState extends IDmfFacet, IRefreshable

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

속성

  이름 설명
공용 속성 IsAutoFailover Returns true if the failover mode of the current primary replica of the Availability Group is set to Automatic Failover.
공용 속성 IsOnline Indicates whether the Availability Group is up.
공용 속성 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.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Refresh Refreshes object properties by reading them from the server. (IRefreshable에서 상속됨)

맨 위로 이동

참고 항목

참조

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