Data Source Object Interfaces
The following table shows the mandatory and optional interfaces defined by OLE DB for a data source object.
Data Source Object
Interface |
Required? |
Implemented by OLE DB Template Classes? |
Mandatory | Yes | |
Mandatory | Yes | |
Mandatory | Yes | |
Optional | No | |
Optional | No | |
Optional | No | |
Optional | No |
The data source object implements the IDBProperties, IDBInitialize, and IDBCreateSession interfaces through inheritance. You can choose to support additional functionality by inheriting or not inheriting from one of these implementation classes. If you want to support the IDBDataSourceAdmin interface, you must inherit from the IDBDataSourceAdminImpl class.