Runoob Tutorial ArchiveEnglish

ADO Property Object

ADO Property Object


Property Object

Built-in properties are properties implemented in ADO and immediately available for any new object, using the MyObject.Property syntax. They do not appear as Property objects in the object's Properties collection, so while their values can be changed, their characteristics cannot.

An ADO Property Object represents dynamic properties of an ADO object, and these dynamic properties are defined by the provider.

Each provider that communicates with ADO has a different way of interacting with ADO. Therefore, ADO needs a way to store information about the provider. The solution is for the provider to provide specific information (dynamic properties) to ADO. ADO stores each provider property in a Property Object, and the Property Object is correspondingly stored in the Properties collection. This collection is assigned to a Command object, Connection object, Field object, or Recordset object.

For example, properties specified to the provider might indicate whether a Recordset object supports transactions or updates. These additional properties appear as Property Objects in that Recordset object's Properties collection.

ProgID

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


Property

Property Description
Attributes Returns a property of a Property object
Name Sets or returns the name of a Property object
Type The type of the Property returned
Value Set or return the value of a Property object