SourceIniFileFileName Property

DTS Programming

DTS Programming

SourceIniFileFileName Property

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.

Applies To
DynamicPropertiesTaskAssignment Object
Syntax

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

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT SourceIniFileFileName(BSTR* pRetVal);

HRESULT SourceIniFileFileName(BSTR pRetVal);

Example

The following code sets the SourceIniFileName property:

oAssign.SourceIniFileFileName = "C:\DTS_UE\TestData\DynProp.ini"
oAssign.SourceIniFileSection = "FlatFile"
oAssign.SourceIniFileKey = "Lengths"

See Also

DynamicPropertiesTask Object

SourceIniFileKey Property

SourceIniFileSection Property

SourceType Property