The SourceDataFileFileName property sets or returns a string that is the name and path of a file that contains the value to which a Data Transformation Services (DTS) package object property will be set by the DynamicPropertiesTask object, when the SourceType property is DTSDynamicPropertiesSourceType_DataFile.
object.SourceDataFileFileName [= filespec]
Part | Description |
---|---|
object | Expression that evaluates to a DynamicPropertiesTaskAssignment object |
filespec | Name and path of file containing value to which a DTS package object property will be set |
String
Read/write
HRESULT SourceDataFileFileName(BSTR* pRetVal);
HRESULT SourceDataFileFileName(BSTR pRetVal);
The following example sets the SourceDataFileName property to a file specification:
oAssign.SourceDataFileFileName = "C:\DTS_UE\TestData\PubsAuthors.txt"