Aracılığıyla paylaş


DatabaseReplicaState.ReplicaAvailabilityMode Property

Gets the availability mode of the availability replica.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ReplicaAvailabilityMode As AvailabilityReplicaAvailabilityMode
    Get
    Set
'Kullanım
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)

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaAvailabilityMode
The availability mode of the availability replica.

See Also

Reference

DatabaseReplicaState Class

Microsoft.SqlServer.Management.Smo Namespace