次の方法で共有


ServiceQueue.IsEnqueueEnabled プロパティ

キューが有効かどうかを示す Boolean プロパティを取得または設定します。

名前空間:  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
キューが有効かどうかを示す Boolean 値です。 True の場合、キューは有効です。 False (既定値) の場合、キューは無効です。

使用例

Readme_ServiceBrokerConfiguration

関連項目

参照

ServiceQueue クラス

Microsoft.SqlServer.Management.Smo.Broker 名前空間

その他の技術情報

開発 (Service Broker)

Service Broker の管理

概要 (Service Broker)

CREATE QUEUE (Transact-SQL)