ServiceQueue.IsPoisonMessageHandlingEnabled Property

 

Gets or sets a Boolean property that specifies whether automatic poison message handling is active for the Service Broker queue.

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

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsPoisonMessageHandlingEnabled { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies the state of automatic poison message handling for the Service Broker queue. True specifies that automatic poison message handling is active. False specifies that automatic poison message handling is not active.

Do not disable automatic poison message handling unless the application using the queue has the logic to handle poison messages.

Return to top
Show: