SourceType Property

DTS Programming

DTS Programming

SourceType Property

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.

Applies To
DynamicPropertiesTaskAssignment Object
Syntax

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

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT SourceType(long* pRetVal);

HRESULT SourceType(long pRetVal);

Remarks

The valid values for this property are defined by the DynamicPropertiesTaskSourceType constants.

Example

The following example sets the SourceType property to a value from a DTS enumeration:

oAssign.SourceType = DTSDynamicPropertiesSourceType_IniFile

See Also

DynamicPropertiesTaskSourceType

SourceConstantValue Property

SourceDataFileFileName Property

SourceEnvironmentVariable Property

SourceGlobalVariable Property

SourceIniFileFileName Property

SourceIniFileKey Property

SourceIniFileSection Property

SourceQueryConnectionID Property

SourceQuerySQL Property