Previous PageNext Page

9.7 Property Object

The Property object represents a dynamic characteristic of an ADO object that is defined by the provider. This object is not currently supported on UNIX.
 

Properties

Attributes
 
One or more characteristics of a property.
 
Name
 
The name of the property.
 
Type
 
The operational or data type of the property.
 
Value
 
The value assigned to the property.
 

Remarks

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, using the familiar MyObject.Property syntax.
 
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.
 
Dynamic properties are defined by the underlying data provider, and appear in the Properties collection for the appropriate ADO object. 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. Dynamic properties can be referenced only through the collection, using the MyObject.Properties(0) or MyObject.Properties("Name") syntax.
 
A dynamic Property object has four built-in properties:
 
  • 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.

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page