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
public bool RemoveFromQueue { get; set; }
public:
virtual property bool RemoveFromQueue {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_RemoveFromQueue ()

/** @property */
public final void set_RemoveFromQueue (boolean value)
public final function get RemoveFromQueue () : boolean

public final function set RemoveFromQueue (value : boolean)

Property Value

true if the message should be removed from the queue; false if it should be left in the queue.

Remarks

The default value of this property is false.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace