Proprietà AvailabilityReplica.FailoverMode

Gets or sets the failover mode of the availability replica.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FailoverMode As AvailabilityReplicaFailoverMode 
    Get 
    Set
'Utilizzo
Dim instance As AvailabilityReplica 
Dim value As AvailabilityReplicaFailoverMode 

value = instance.FailoverMode

instance.FailoverMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaFailoverMode FailoverMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaFailoverMode FailoverMode {
    AvailabilityReplicaFailoverMode get ();
    void set (AvailabilityReplicaFailoverMode value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FailoverMode : AvailabilityReplicaFailoverMode with get, set
function get FailoverMode () : AvailabilityReplicaFailoverMode 
function set FailoverMode (value : AvailabilityReplicaFailoverMode)

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaFailoverMode
The failover mode of the availability replica.

Vedere anche

Riferimento

AvailabilityReplica Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo