当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO 属性

ADO
ADO介绍
ADO数据库连接
ADO记录集
ADO显示记录
ADO查询语句
ADO记录排序
ADO添加记录
ADO更新记录
ADO删除记录
ADO演示
ADO提升执行速度
ADO Command对象
ADO Connection对象
ADO Error
ADO Field
ADO Parameter
ADO 属性
ADO Record
ADO Recordset
ADO Stream

ADO 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 721 ::
收藏到网摘: n/a

Property Object
属性对象

The ADO Property object represents a dynamic characteristic of an ADO object that is defined by the provider.
ADO属性对象代表了ADO对象的一个动态属性,该ADO对象是通过技术提供对象[provider]定义的。

Each provider that talks with ADO has different ways of interacting with ADO. Therefore, ADO needs to store information about the provider in some way. The solution is that the provider gives specific information (dynamic properties) to ADO. ADO stores each provider property in a Property object that is again stored in the Properties Collection. The Collection is assigned to either a Command object, Connection object, Field object, or a Recordset object.
每个驱动提供商都有不同的方法来与ADO进行交互,因此,ADO需要存放一些有关这些提供商的信息。具体方法就是提供商将具体的信息(动态属性)发给ADO,ADO在属性对象(被指派的属性对象保存在属性集合中)中保存每个提供商的属性特征。上述的属性集合将被指派到一个指令对象、连接对象、字段对象或是一个记录集对象中。

ProgID

set objProperty=Server.CreateObject("ADODB.property")


Properties
属性

Property属性 Description描述
Attributes Returns the attributes of a Property object
返回一个Property[属性]对象的特征属性
Name Sets or returns the name of a Property object
返回一个Property[属性]对象的名称
Type Returns the type of a Property object
返回一个Property[属性]对象的类型
Value Sets or returns the value of a Property object
返回一个Property[属性]对象的值

评论 (0) All

登陆 | 还没注册?