RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOConnection Class

TADOConnection connects to an ADO data store.

Pascal
TADOConnection = class(TCustomConnection, IUnknown, ConnectionEventsVT);
C++
class TADOConnection : public TCustomConnection, public IUnknown, public ConnectionEventsVT;

ADODB

TADOConnection encapsulates the ADO connection object. Use TADOConnection for connecting to ADO data stores. The connection provided by a single TADOConnection component can be shared by multiple ADO command and dataset components through their Connection properties. 

TADOConnection allows you to control the attributes and conditions of a connection to a data store. Use the properties of TADOConnection to control such attributes as record locking scheme (optimistic versus pessimistic), cursor type, cursor location, isolation level, and connection time-out. Methods are also provided for implementing transactions and retrieving metadata about the database to which this component connects. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!