Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Two types of COM objects are necessary for consumers to connect to providers: data source objects and session objects.
To connect to an OLE DB provider, a consumer must first create and initialize an instance of the provider's data source object. This data source object can then be used to create a session object, which in turn acts as a factory for transactions, commands, and rowsets. The primary function of a session is to define a transaction. A transaction is a mechanism used to define persistent units of work within a provider and to define how the different units relate to one another in a system with parallel activities.
For more information about |
See |
---|---|
Data providers, consumers, and service components |
|
Transactions |
|
OLE DB connection models |
|
Data source object |
|
Session object |
|
Rowsets |
This section contains the following topics: