MessageDataFile Property

DTS Programming

DTS Programming

MessageDataFile Property

The MessageDataFile property sets or returns the name and path of the file that provides the data for a DTSMessageQueueTask object data file message.

Applies To
DTSMQMessage Object
Syntax

object.MessageDataFile [= filespec]

Part Description
object Expression that evaluates to a DTSMQMessage object
filespec Name and path of the file that provides the data for the message

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT MessageDataFile(BSTR* pVal);

HRESULT MessageDataFile(BSTR pVal);

Remarks

The MessageDataFile property must be defined if the MessageType property is DTSMQMessageType_DataFile.

See Also

DTSMQMessageType

MessageGlobalVariables Property

MessageString Property

MessageType Property