SourceConstantValue Property

DTS Programming

DTS Programming

SourceConstantValue Property

The SourceConstantValue property sets or returns 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_Constant.

Applies To
DynamicPropertiesTaskAssignment Object
Syntax

object.SourceConstantValue [= string]

Part Description
object Expression that evaluates to a DynamicPropertiesTaskAssignment object
string Value to which a DTS package object property will be set

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT SourceConstantValue(BSTR* pRetVal);

HRESULT SourceConstantValue(BSTR pRetVal);

Example

The following example sets the SourceConstantValue property to a string:

oAssign.SourceConstantValue = "C:\DTS_UE\TestData\PubsAuthors.txt"

See Also

DynamicPropertiesTask Object

SourceType Property