共用方式為


IAvailabilityGroupState.IsOnline Property

Definition

Gets a value indicating whether the Availability Group is up. This is true if a functioning primary replica exists for the Availability Group.

[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("AvailabilityGroupState_IsOnlineDesc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("AvailabilityGroupState_IsOnlineName")]
public bool IsOnline { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("AvailabilityGroupState_IsOnlineDesc")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("AvailabilityGroupState_IsOnlineName")>]
member this.IsOnline : bool
Public ReadOnly Property IsOnline As Boolean

Property Value

Attributes

Applies to