DTS Programming
IsDefaultValue Property
The IsDefaultValue property specifies whether the OLE DB property to which it refers has not been explicitly set to a value.
Applies To
OLEDBProperty2 Object |
Syntax
oledbprop.IsDefaultValue
Part | Description |
---|---|
oledbprop | Expression that evaluates to a OLEDBProperty2 object |
Data Type
Boolean
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetIsDefaultValue(VARIANT_BOOL *pRetVal);
Remarks
The IsDefaultValue property is TRUE if the value of the corresponding OLEDBProperty2 object has not been explicitly set or has been set to VT_EMPTY. In the OLE DB specification, VT_EMPTY means restore the default value. If the OLEDBProperty2 object was explicitly set to any other value, including the default value, the IsDefaultValue property is FALSE.