Dela via


ServiceQueue.IsEnqueueEnabled Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsEnqueueEnabled As Boolean
    Get
    Set
'Usage
Dim instance As ServiceQueue
Dim value As Boolean

value = instance.IsEnqueueEnabled

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

Property Value

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