AvailabilityReplica.FailoverMode 屬性
Gets or sets the failover mode of the availability replica.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FailoverMode As AvailabilityReplicaFailoverMode
Get
Set
'用途
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)
屬性值
型別:Microsoft.SqlServer.Management.Smo.AvailabilityReplicaFailoverMode
The failover mode of the availability replica.