当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO 属性
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在属性对象(被指派的属性对象保存在属性集合中)中保存每个提供商的属性特征。上述的属性集合将被指派到一个指令对象、连接对象、字段对象或是一个记录集对象中。
set objProperty=Server.CreateObject("ADODB.property") |
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[属性]对象的值 |