Udostępnij za pośrednictwem


Właściwość Database.BrokerEnabled

Pobiera lub ustawia wartość właściwość, która określa, czy usługa 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(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property BrokerEnabled As Boolean
    Get
    Set
'Użycie
Dim instance As Database
Dim value As Boolean

value = instance.BrokerEnabled

instance.BrokerEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool BrokerEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property bool BrokerEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract BrokerEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override BrokerEnabled : bool with get, set
final function get BrokerEnabled () : boolean
final function set BrokerEnabled (value : boolean)

Wartość właściwości

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

Implementacje

IDatabaseOptions.BrokerEnabled