DatabaseReplicaState.ReplicaAvailabilityMode 属性
Gets the availability mode of the availability replica.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ReplicaAvailabilityMode As AvailabilityReplicaAvailabilityMode
Get
Set
用法
Dim instance As DatabaseReplicaState
Dim value As AvailabilityReplicaAvailabilityMode
value = instance.ReplicaAvailabilityMode
instance.ReplicaAvailabilityMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaAvailabilityMode ReplicaAvailabilityMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaAvailabilityMode ReplicaAvailabilityMode {
AvailabilityReplicaAvailabilityMode get ();
void set (AvailabilityReplicaAvailabilityMode value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ReplicaAvailabilityMode : AvailabilityReplicaAvailabilityMode with get, set
function get ReplicaAvailabilityMode () : AvailabilityReplicaAvailabilityMode
function set ReplicaAvailabilityMode (value : AvailabilityReplicaAvailabilityMode)
属性值
类型:Microsoft.SqlServer.Management.Smo.AvailabilityReplicaAvailabilityMode
The availability mode of the availability replica.