MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 20: OLE DB Core Components


 

Flow of Operations

Determining Provider Support for a Customized User Interface

  1. When a provider is chosen via the Providers tab, the Data Link core component cocreates that provider's data source object.

  2. The Data Link core component calls IUnknown::QueryInterface for IServiceProvider. If this fails, the core component assumes that the provider does not support extensions and will use the default property pages.

  3. If the call to QueryInterface succeeds, the Data Link core component calls IServiceProvider::QueryService with OLEDB_SVC_DSLPropertyPages and IID_ISpecifyPropertyPages to retrieve the object that provides property pages for the Data Link core component. If this fails, the Data Link core component will assume that the provider does not support extensions and will use the default property pages.

Loading Pages

Data Link Core Component Actions on Tab Change

There are two possible code paths within the current the Data Link core component implementation: one that is used for the Data Link core component internal pages, and one that is used for the providers pages.

Provider Actions on Page Change

Unloading Pages