OLEDBProperty2 objects are used by the Connection object to specify properties of sessions and rowsets to be set in the OLE DB service provider at run-time.
The OLEDBProperty2 object extends the functionality of the OLEDBProperty object and inherits the properties and methods of that object. In addition, the IsDefaultValue property indicates whether the value of the OLEDBProperty2 object has been explicitly set to a value other than the code for "restore default value".
For more information about when to use the OLEDBProperty object instead of the OLEDBProperty2 object, see Extended DTS Objects.
Creating DTS Package Objects and Connections