The SourceIniFileFileName property sets or returns a string that is the name and path of an .ini file, which 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_IniFile.
object.SourceIniFileFileName [= filespec]
Part | Description |
---|---|
object | Expression that evaluates to a DynamicPropertiesTaskAssignment object |
filespec | Name and path of .ini file containing value to which a package object property will be set |
String
Read/write
HRESULT SourceIniFileFileName(BSTR* pRetVal);
HRESULT SourceIniFileFileName(BSTR pRetVal);
The following code sets the SourceIniFileName property:
oAssign.SourceIniFileFileName = "C:\DTS_UE\TestData\DynProp.ini"
oAssign.SourceIniFileSection = "FlatFile"
oAssign.SourceIniFileKey = "Lengths"