Condividi tramite


Proprietà Enabled

Gets or sets whether the threshold is enabled.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Property Enabled As Boolean
    Get
    Set
'Utilizzo
Dim instance As MonitorThreshold
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
member Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)

Valore proprietà

Tipo: System. . :: . .Boolean
A Boolean value. If true, the threshold is enabled. If false, the threshold is disabled.

Osservazioni

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.