Sdílet prostřednictvím


AvailabilityGroupState.IsOnline Property

Gets whether the availability group is online.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property IsOnline As Boolean 
    Get
'Usage
Dim instance As AvailabilityGroupState 
Dim value As Boolean 

value = instance.IsOnline
public bool IsOnline { get; }
public:
virtual property bool IsOnline {
    bool get () sealed;
}
abstract IsOnline : bool 
override IsOnline : bool
final function get IsOnline () : boolean

Property Value

Type: System.Boolean
True if the availability group is online; otherwise, false.

Implements

IAvailabilityGroupState.IsOnline

See Also

Reference

AvailabilityGroupState Class

Microsoft.SqlServer.Management.Smo Namespace