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)

public bool IsAutoFailover { get; }

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.

Return to top
Show: