![]() ![]() This way, you get additional services from oledb32 like session pooling, automatic transaction enlistment, cursor engine, and support for additional interfaces. “when accessing OLE DB directly” actually means that the application doesn’t directly instantiate a corresponding provider object, but rather goes through the “service component”, (otherwise known as “core services”, layer (oledb32.dll) by doing something like:ĬLSID_MSDASC, // CLSID of “service component” ), the connection string is passed as a parameter to create an OLE DB data source object." Without a connection string, you would be required to store or pass a complex array of structures to access data. "A connection string is a string version of the initialization properties needed to connect to a data store and enables you to easily store connection information within your application or to pass it between applications. ![]() One problem is that OLE DB itself does not define connection string as a provider concept. ![]() (Anton Klimov, a developer on the SQL Server Native Client team, wrote the following article.)Ĭonnection strings for an OLE DB provider is a concept that causes a lot of confusion. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |