The ReceiveMessageType property sets or returns the type of message for which a DTSMessageQueueTask object that is a receiver is waiting.
object.ReceiveMessageType [= value]
Part | Description |
---|---|
object | Expression that evaluates to a DTSMessageQueueTask object |
value | Code for the message type from the DTSMQMessageType constants |
Long
Read/write
HRESULT GetReceiveMessageType(long* pVal);
HRESULT SetReceiveMessageType(long pVal);
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]