Proprietà AvailabilityReplica.AvailabilityMode
Gets or sets the value that represents the availability mode for the availability replica.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AvailabilityMode As AvailabilityReplicaAvailabilityMode
Get
Set
'Utilizzo
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)
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaAvailabilityMode
The value that represents the availability mode for the availability replica.