AvailabilityGroupState.IsAutoFailover Property
Gets a value that indicates whether the failover mode of the current primary replica of the availability group is set to automatic failover.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property IsAutoFailover As Boolean
Get
'Usage
Dim instance As AvailabilityGroupState
Dim value As Boolean
value = instance.IsAutoFailover
public bool IsAutoFailover { get; }
public:
virtual property bool IsAutoFailover {
bool get () sealed;
}
abstract IsAutoFailover : bool
override IsAutoFailover : bool
final function get IsAutoFailover () : boolean
Property Value
Type: System.Boolean
True if the failover mode of the current primary replica of the availability group is set to automatic failover; otherwise, false.
Implements
IAvailabilityGroupState.IsAutoFailover