DTS Programming
Value Property
The Value property specifies the value of a GlobalVariable, OLEDBProperty, or PrecedenceConstraint object.
Applies To
GlobalVariable Object | OLEDBProperty2 Object |
GlobalVariable2 Object | PrecedenceConstraint Object |
OLEDBProperty Object | Property Object |
Syntax
object.Value
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
Data Type
Variant
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetValue(VARIANT *pRetVal);
HRESULT SetValue(VARIANT NewValue);
Remarks
For the PrecedenceConstraint object, the Value property must be from either the DTSStepExecResult or DTSStepExecStatus constants. For the other objects, the Value property can be any Variant, including references to COM objects, such as a Data Transformation Services (DTS) Package2 object or a Microsoft® ActiveX® Data Objects (ADO) disconnected recordset.