网淘巴来吧,欢迎您!

返回首页 微信
微信
手机版
手机版

Data.Win.ADODB.TADOConnection详解

2021-08-13 新闻来源:网淘巴 围观:133
电脑广告
手机广告

TADOConnection

Delphi

TADOConnection = class(TCustomConnection, IUnknown, ConnectionEventsVT)

C++

class PASCALIMPLEMENTATION TADOConnection : public Data::Db::TCustomConnection

Contents

 [hide

属性

TypeVisibilitySourceUnitParent
classpublicData.Win.ADODB.pasData.Win.ADODB.hppData.Win.ADODBData.Win.ADODB

描述

TADOConnection 连接到 ADO 数据存储。 TADOConnection 封装了 ADO 连接对象。 使用 TADOConnection 连接到 ADO 数据存储。 单个 TADOConnection 组件提供的连接可以由多个 ADO command和dataset 组件通过它们的 Connection 属性共享。 TADOConnection 允许您控制与数据存储的连接的属性和条件。 使用 TADOConnection 的属性来控制诸如记录锁定方案(乐观与悲观)、游标类型、游标位置、隔离级别和连接超时等属性。 还提供了用于实现事务和检索有关此组件连接到的数据库的元数据的方法。


属性

Attributespublished指定自动事务行为。
CommandCountpublic指示与连接关联的命令组件的数量。
Commandspublic列出连接组件的所有活动命令。
CommandTimeoutpublished

翻译结果

指定尝试执行命令的时间量。
ComObjectpublicSpecifies the interface reference implemented by the component.
ComponentCountpublicIndicates the number of components owned by the component.
ComponentIndexpublicIndicates the position of the component in its owner's Components property array.
ComponentspublicLists all components owned by the component.
ComponentStatepublicDescribes the current state of the component, indicating when a component needs to avoid certain actions.
ComponentStylepublicGoverns the behavior of the component.
Connectedpublished
ConnectionObjectpublicProvides direct access to the ADO connection object.
ConnectionStringpublishedSpecifies the connection information for the data store.
ConnectionTimeoutpublishedSpecifies amount of time to attempt a connection.
ConnectOptionspublishedSpecifies whether a connection is synchronous or asynchronous.
CursorLocationpublishedSpecifies whether cursors for the connection is client-side or server-side.
DataSetCountpublicIndicates the number of datasets associated with the connection component.
DataSetspublicProvides an indexed array of all active datasets for a connection component.
DefaultDatabasepublishedIndicates the database the ADO connection uses by default.
DesignInfopublicContains information used by the Form designer.
ErrorspublicErrors is the implementation of the Errors Collection.
InTransactionpublicIndicates whether a transaction is in progress.
IsolationLevelpublishedSpecifies the transaction isolation level for transactions.
KeepConnectionpublishedSpecifies whether an application remains connected to a database even if no datasets are open.
LoginPromptpublished
ModepublishedIndicate the persmissions available to a connection.
NamepublishedSpecifies the name of the component as referenced in code.
ObserverspublicIndicates the TObservers object added to the TComponent.
OwnerpublicIndicates the component that is responsible for streaming and freeing this component.
PropertiespublicProperties is the implementation of the Properties Collection object.
ProviderpublishedSpecifies the provider for the ADO connection.
StatepublicIndicates the current state of the ADO connection.
TagpublishedStores a NativeInt integral value as a part of a component.
VCLComObjectpublicRepresents information used internally by components that support COM.
VersionpublicIndicates the version of ADO used.


打赏 支付宝打赏 微信打赏
免责申明
一、网淘巴提供的资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱:
jjq_hn@wtao8.com ,我们会在看到邮件的第一时间内为您处理。
二、网友通过wtao8.com途径发表的一切信息,本站有权在本网站范围内引用、发布、转载用户在本站发布的内容。本站对于用户发布的内容所引发的版权、署名权的异议、纠纷不承担任何责任。传统媒体转载须事先与原作者和本站联系。提交者发言纯属个人行为,与本网站立场无关。
文章底部电脑广告
手机广告位-内容正文底部

相关文章

学习使人进步

这是我学习的历程,分享给大家。