ReceiveMessageType Property

DTS Programming

DTS Programming

ReceiveMessageType Property

The ReceiveMessageType property sets or returns the type of message for which a DTSMessageQueueTask object that is a receiver is waiting.

Applies To
DTSMessageQueueTask Object
Syntax

object.ReceiveMessageType [= value]

Part Description
object Expression that evaluates to a DTSMessageQueueTask object
value Code for the message type from the DTSMQMessageType constants

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetReceiveMessageType(long* pVal);

HRESULT SetReceiveMessageType(long pVal);

Remarks

The property also can be referenced through the Properties collection of the Task object with the following code:

Set taskprops = task.Properties
taskprops("ReceiveMessageType") [= value]

See Also

DTSMQMessageType

TaskType Property