The SourceType property sets or returns a code for the type of source object that provides the value to which a Data Transformation Services (DTS) package object property will be set by the DynamicPropertiesTask object.
object.SourceType [= value]
Part | Description |
---|---|
object | Expression that evaluates to a DynamicPropertiesTaskAssignment object |
value | Code for the type of source object that provides the value to which a DTS package object property will be set |
Long
Read/write
HRESULT SourceType(long* pRetVal);
HRESULT SourceType(long pRetVal);
The valid values for this property are defined by the DynamicPropertiesTaskSourceType constants.
The following example sets the SourceType property to a value from a DTS enumeration:
oAssign.SourceType = DTSDynamicPropertiesSourceType_IniFile
DynamicPropertiesTaskSourceType
SourceDataFileFileName Property
SourceEnvironmentVariable Property
SourceIniFileFileName Property