Data Source Object Interfaces
The following table shows the mandatory and optional interfaces defined by OLE DB for a data source object.
Interface | Required? | Implemented by OLE DB templates? |
---|---|---|
IDBCreateSession |
Mandatory | Yes |
IDBInitialize |
Mandatory | Yes |
IDBProperties |
Mandatory | Yes |
IPersist | Mandatory | Yes |
IConnectionPointContainer | Optional | No |
IDBDataSourceAdmin |
Optional | No |
IDBInfo |
Optional | No |
IPersistFile | Optional | No |
ISupportErrorInfo |
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.
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ