Proprietà ServiceQueue.IsActivationEnabled

Gets or sets the Boolean property that specifies whether activation is enabled for the service queue.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsActivationEnabled As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As ServiceQueue 
Dim value As Boolean 

value = instance.IsActivationEnabled

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

Valore proprietà

Tipo: System.Boolean
A Boolean value that specifies whether activation is enabled for the service queue.If True, activation is enabled for the service queue.If False (default), activation is disabled for the service queue.

Esempi

Readme_ServiceBrokerConfiguration

Vedere anche

Riferimento

ServiceQueue Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker

Altre risorse

Sviluppo (Service Broker)

Gestione di Service Broker

Panoramica (Service Broker)

CREATE QUEUE (Transact-SQL)