IsPoisonMessageHandlingEnabled プロパティ
有害メッセージの自動処理が Service Broker キューに対して有効になっているかどうかを示す Boolean プロパティを取得または設定します。
名前空間: Microsoft.SqlServer.Management.Smo.Broker
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsPoisonMessageHandlingEnabled As Boolean
Get
Set
'使用
Dim instance As ServiceQueue
Dim value As Boolean
value = instance.IsPoisonMessageHandlingEnabled
instance.IsPoisonMessageHandlingEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsPoisonMessageHandlingEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsPoisonMessageHandlingEnabled {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsPoisonMessageHandlingEnabled : bool with get, set
function get IsPoisonMessageHandlingEnabled () : boolean
function set IsPoisonMessageHandlingEnabled (value : boolean)
プロパティ値
型: System. . :: . .Boolean
Service Broker キューに対する有害メッセージの自動処理の状態を示す Boolean 値です。True は、有害メッセージの自動処理が有効であることを示します。False は、有害メッセージの自動処理が無効であることを示します。
説明
キューを使用するアプリケーションに有害メッセージを処理するロジックがない限り、有害メッセージの自動処理を無効にしないでください。