Aracılığıyla paylaş


AvailabilityReplica.AvailabilityMode Property

Gets or sets the value that represents the availability mode for the availability replica.

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

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AvailabilityMode As AvailabilityReplicaAvailabilityMode
    Get
    Set
'Kullanım
Dim instance As AvailabilityReplica
Dim value As AvailabilityReplicaAvailabilityMode

value = instance.AvailabilityMode

instance.AvailabilityMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaAvailabilityMode AvailabilityMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaAvailabilityMode AvailabilityMode {
    AvailabilityReplicaAvailabilityMode get ();
    void set (AvailabilityReplicaAvailabilityMode value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AvailabilityMode : AvailabilityReplicaAvailabilityMode with get, set
function get AvailabilityMode () : AvailabilityReplicaAvailabilityMode
function set AvailabilityMode (value : AvailabilityReplicaAvailabilityMode)

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaAvailabilityMode
The value that represents the availability mode for the availability replica.

See Also

Reference

AvailabilityReplica Class

Microsoft.SqlServer.Management.Smo Namespace