Chapter 14: Properties

OLE DB Programmer's Reference

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

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net