IAvailabilityGroupState.IsOnline 屬性
Indicates whether the Availability Group is up.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayNameKeyAttribute("AvailabilityGroupState_IsOnlineName")> _
<DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsOnlineDesc")> _
ReadOnly Property IsOnline As Boolean
Get
'用途
Dim instance As IAvailabilityGroupState
Dim value As Boolean
value = instance.IsOnline
[DisplayNameKeyAttribute("AvailabilityGroupState_IsOnlineName")]
[DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsOnlineDesc")]
bool IsOnline { get; }
[DisplayNameKeyAttribute(L"AvailabilityGroupState_IsOnlineName")]
[DisplayDescriptionKeyAttribute(L"AvailabilityGroupState_IsOnlineDesc")]
property bool IsOnline {
bool get ();
}
[<DisplayNameKeyAttribute("AvailabilityGroupState_IsOnlineName")>]
[<DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsOnlineDesc")>]
abstract IsOnline : bool
function get IsOnline () : boolean
屬性值
型別:System.Boolean
True whether the Availability Group is up; otherwise, false.