Property Object

A Property object represents a dynamic characteristic of an ADO object that is defined by the provider.





Properties

Attributes, Name, Type, Value

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 of its own:

See Also

Using OLE DB Providers with ADO


© 1997 Microsoft Corporation. All rights reserved.