Freigeben über


AvailabilityReplica.AvailabilityMode-Eigenschaft

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

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AvailabilityMode As AvailabilityReplicaAvailabilityMode 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Siehe auch

Verweis

AvailabilityReplica Klasse

Microsoft.SqlServer.Management.Smo-Namespace