ServiceQueue.IsEnqueueEnabled 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo.Broker
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsEnqueueEnabled As Boolean 
    Get 
    Set
用法
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)

属性值

类型: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.

示例

Readme_ServiceBrokerConfiguration

请参阅

参考

ServiceQueue 类

Microsoft.SqlServer.Management.Smo.Broker 命名空间

其他资源

开发 (Service Broker)

管理 Service Broker

概述 (Service Broker)

CREATE QUEUE (Transact-SQL)