Freigeben über


Properties (OLE DB)

This section defines and discusses properties, property sets, and property groups. Consumers can expose and set object properties as well as retrieve information about properties. Property structures and enumerated types are used to pass property values and information about properties. This section explains how this is accomplished and provides a detailed description of these structures and types.

In This Section

Remarks

Properties are attributes of an object. For example, a rowset has properties that describe the maximum number of rows that can be open at one time and whether or not the rowset exposes bookmarks.

Consumers set property values to request specific object behavior. For example, consumers use properties to specify which interfaces they want a rowset to expose.

Consumers get property values to determine the capabilities of an object. For example, consumers use properties to determine what transaction isolation levels a data source object can support.

Each property has a value, a type, a description, a read/write attribute, and, for rowset properties, an indicator of whether it can be applied on a column-by-column basis.

For more information on

Go to

Rowsets

Rowsets

Data source object

Data Source Objects

Property sets and groups

Property Sets and Property Groups

How a consumer sets property values

Setting Property Values

How a consumer gets property values

Getting Property Values

How a consumer gets property information

Getting Information About Properties

Property structures and enumerated types

Property Structures and Enumerated Types

See Also

Other Resources

Microsoft OLE DB