virtual bool CODataSource::PostProcess();

Return Value

        true if successful; otherwise false.

Remarks

        This function is mainly called by global template functions, BindObject<T> and CreateObject<T>, or when a data source object is opened through MS data link object. Calling the function initializes the data source object.

        If a set of provider-specific properties is needed to set when opening a data source, overwrite this function as the following.

        bool CMyDataSource::PostProcess(){
                ATLASSERT(m_pIDBInitialize);
                CComPtr<IDBProperties> pIDBProperties;

                //query the interface and set the set of provider-specific initialization properties here

                return CODataSource::PostProcess();
        }

CODataSource Class Overview & Class Members