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.
object.SaveDataFileName [= value]
Part | Description |
---|---|
object | Expression that evaluates to a DTSMessageQueueTask object |
value | File specification where message is to be written |
String
Read/write
HRESULT GetSaveDataFileName(BSTR *pVal);
HRESULT SetSaveDataFileName(BSTR pVal);
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]