Compartilhar via


Propriedade do RDL 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.

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

Sintaxe

'Declaração
Public ReadOnly Property IsAutoFailover As Boolean 
    Get
'Uso
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

Valor da propriedade

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

Implementa

IAvailabilityGroupState.IsAutoFailover

Consulte também

Referência

AvailabilityGroupState Classe

Namespace Microsoft.SqlServer.Management.Smo