Encapsulates the ADO Properties collection, which contains all Property objects for an instance of an ADO object.
package com.ms.wfc.data
public class AdoProperties
Remarks
ADO supports COM collection objects, which contain sets of other ADO objects. For example, the Connection, Command, Recordset, and Field objects each have their own Properties collection. This collection contains a set of Property objects, which describe the characteristics of the object. The AdoProperties class is the WFC representation of the ADO Properties collection.
There are two types of Property objects: built-in and dynamic. Built-in properties are part of a given ADO object, and each object has methods to assign or retrieve the value of the property. Dynamic properties are appended to the Properties collection of the given ADO object by the underlying OLE DB provider.
To obtain the dynamic properties of an object, first call its getProperties method. This method returns its Properties collection as an AdoProperties object. Then call the getItem method on the AdoProperties object to retrieve the property, either by index or by name. This property is returned as an AdoProperty object.
The AdoProperties class contains the following methods, which encapsulate the properties and methods of the ADO Properties collection:
public int getCount()
public AdoProperty getItem( int n )
public AdoProperty getItem( String s )
public void refresh()
See Also AdoProperty, ADO Collections