IAvailabilityGroupState.IsOnline Property
Indicates whether the Availability Group is up.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("AvailabilityGroupState_IsOnlineName")> _
<DisplayDescriptionKeyAttribute("AvailabilityGroupState_IsOnlineDesc")> _
ReadOnly Property IsOnline As Boolean
Get
'Usage
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
Property Value
Type: System.Boolean
True whether the Availability Group is up; otherwise, false.