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.
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 |
String
Read/write
HRESULT SourceConstantValue(BSTR* pRetVal);
HRESULT SourceConstantValue(BSTR pRetVal);
The following example sets the SourceConstantValue property to a string:
oAssign.SourceConstantValue = "C:\DTS_UE\TestData\PubsAuthors.txt"