The IsDefaultValue property specifies whether the OLE DB property to which it refers has not been explicitly set to a value.
oledbprop.IsDefaultValue
Part | Description |
---|---|
oledbprop | Expression that evaluates to a OLEDBProperty2 object |
Boolean
Read-only
HRESULT GetIsDefaultValue(VARIANT_BOOL *pRetVal);
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.