AvailabilityReplica.FailoverMode-Eigenschaft
Gets or sets the failover mode of the availability replica.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FailoverMode As AvailabilityReplicaFailoverMode
Get
Set
'Usage
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)
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaFailoverMode
The failover mode of the availability replica.