Udostępnij za pośrednictwem


Właściwość DatabaseOptions.BrokerEnabled

Pobiera lub ustawia Boolean wartość właściwość, która określa, czy Service Broker Usługa jest włączona.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute> _
Public Property BrokerEnabled As Boolean
    Get
    Set
'Użycie
Dim instance As DatabaseOptions
Dim value As Boolean

value = instance.BrokerEnabled

instance.BrokerEnabled = value
[SfcPropertyAttribute]
public bool BrokerEnabled { get; set; }
[SfcPropertyAttribute]
public:
property bool BrokerEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member BrokerEnabled : bool with get, set
function get BrokerEnabled () : boolean
function set BrokerEnabled (value : boolean)

Wartość właściwości

Typ: System.Boolean
A Boolean wartość określająca, czy Service Broker Usługa jest włączona.
Jeśli True, statystyki są automatycznie aktualizowane.W przeciwnym razie False (domyślnie).