Partager via


Propriété AvailabilityGroupState.IsAutoFailover

Gets a value that indicates whether the failover mode of the current primary replica of the availability group is set to automatic failover.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property IsAutoFailover As Boolean 
    Get
'Utilisation
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

Valeur de propriété

Type : System.Boolean
True if the failover mode of the current primary replica of the availability group is set to automatic failover; otherwise, false.

Implémente

IAvailabilityGroupState.IsAutoFailover

Voir aussi

Référence

AvailabilityGroupState Classe

Espace de noms Microsoft.SqlServer.Management.Smo