A Property object represents a dynamic characteristic of an ADO object that is defined by the provider.
Attributes, Name, Type, Value
ADO objects have two types of properties: built-in and dynamic. Built-in properties are those properties implemented in ADO and immediately available to any new object. However, these built-in properties do not appear as Property objects in an object’s Properties collection, so while you can change their values, you cannot modify their characteristics or delete them.
Many OLE DB providers will expose additional object properties to ADO. These dynamic properties provide information about additional functionality available from the provider. For example, a property specific to the provider may indicate if a Recordset object supports transactions or updating. These additional properties will appear as Property objects in that Recordset object’s Properties collection.
A dynamic Property object has four built-in properties of its own:
· The Name property is a string that identifies the property.
· The Type property is an integer that specifies the property data type.
· The Value property is a variant that contains the property setting.
· The Attributes property is a long value that indicates characteristics of the property specific to the provider.
To refer to a Property object in a collection by its ordinal number or by its Name property setting, use any of the following syntax forms:
object.Properties.Item(0)
object.Properties.Item("name")
object.Properties(0)
object.Properties("name")
With the same syntax forms, you can also refer to the Value property of a Property object. The context of the reference will determine whether you are referring to the Property object itself or the Value property of the Property object.
Command, Connection, Field, Item, Properties, Recordset
file: /Techref/language/asp/comp/dadobj01_5.htm, 4KB, , updated: 1996/11/21 18:01, local time: 2024/11/25 01:25,
3.17.179.132:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/asp/comp/dadobj01_5.htm"> Property Object (ADO)</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.