Share via


MessageQueueTask.RemoveFromQueue Property

Gets or sets a Boolean that specifies whether the message should be removed from the queue.

Namespace:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)

Syntax

'Declaration
Public Property RemoveFromQueue As Boolean
    Get
    Set
'Usage
Dim instance As MessageQueueTask
Dim value As Boolean

value = instance.RemoveFromQueue

instance.RemoveFromQueue = value
public bool RemoveFromQueue { get; set; }
public:
virtual property bool RemoveFromQueue {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract RemoveFromQueue : bool with get, set
override RemoveFromQueue : bool with get, set
final function get RemoveFromQueue () : boolean
final function set RemoveFromQueue (value : boolean)

Property Value

Type: System.Boolean
true if the message should be removed from the queue; false if it should be left in the queue.

Implements

IMessageQueueTask.RemoveFromQueue

Remarks

The default value of this property is false.