SaveDataFileName Property

DTS Programming

DTS Programming

SaveDataFileName Property

The SaveDataFileName property sets or returns the name and path of the file into which a received data file is written by a DTSMessageQueueTask object.

Applies To
DTSMessageQueueTask
Syntax

object.SaveDataFileName [= value]

Part Description
object Expression that evaluates to a DTSMessageQueueTask object
value File specification where message is to be written

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSaveDataFileName(BSTR *pVal);

HRESULT SetSaveDataFileName(BSTR 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("SaveDataFileName") [= value]

See Also

ReceiveMessageType Property

TaskType Property