Properties
are characteristics of an OLE DB object. Data sources, sessions, and
rowsets all have associated properties. Every property has a description,
a value, and a type, and can be read-only or writable. Properties
also have related methods that can be used to set object properties
and retrieve object property information.
Properties
are contained within sets that are contained within groups. A property
set is a closely related collection of properties associated with
one OLE DB object (for example, rowsets), or associated with one type
of functionality (for example, initializing the data source component).
A property group is a loosely knit group of property sets that are
associated with a particular object or type of functionality. Every
property belongs to a property set and, by virtue of its set, a property
group.
Each property
group name corresponds to an object name (like Rowset) or type of
functionality (like Initialization). Property names and property set
names can be used to determine whether a property is one of the OLE
DB standard properties or a customized property specific to SAS.
-
Properties specific to SAS begin
with DBPROP_SAS_ (for example, DBPROP_SAS_FORMATS).
-
Property sets specific to SAS begin
with DBPROPSET_SAS_ (for example, DBPROPSET_SAS_DATASOURCEINFO).
You can
also view properties sorted by group and set, provider, and ADO name.
Note: When you specify
properties and cursor location on a recordset, you need to specify
the properties after the cursor location is set. Certain properties
can be specified only for the server. If the cursor location is specified
after the properties, you might not see an error and you might have
unexpected results.
For
more information, see the discussion of SAS customized properties
in Known Issues for All Providers.