MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 14: Properties
This chapter 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 chapter explains how this is accomplished and provides a detailed description of these structures and types.
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 | Chapter 4, "Rowsets" |
Data source object | "Data Source Objects" in Chapter 2, "Data Source and Session Objects" |
Property sets and groups | "Property Sets and Property Groups" in this chapter |
How a consumer sets property values | "Setting Property Values" in this chapter |
How a consumer gets property values | "Getting Property Values" in this chapter |
How a consumer gets property information | "Getting Information About Properties" in this chapter |
Property structures and enumerated types | "Property Structures and Enumerated Types" in this chapter |