How Do I Add a Property in My Provider?

Find the property group and property ID for the property you want. (See OLE DB Properties in the OLE DB Programmer's Reference.)

In the provider code generated by the Wizard, find the property map corresponding to the property group. (The name of the property group usually corresponds to the name of the object. Command and rowset properties can be found in the command or rowset; data source and initialization properties can be found in the data source object.)

In the property map, add a PROPERTY_INFO_ENTRY macro. PROPERTY_INFO_ENTRY takes four parameters: