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.