IDBSchemaRowsetImpl::GetRowset

HRESULT GetRowset( IUnknown *pUnkOuter, REFGUID rguidSchema, ULONG cRestrictions, const VARIANT rgRestrictions[], REFIID riid, ULONG cPropertySets, DBPROPSET rgPropertySets[], IUnknown **ppRowset );

See IDBSchemaRowset::GetRowset in the Platform SDK.

Parameters

pUnkOuter

[in] An outer IUnknown when aggregating; otherwise NULL.

rguidSchema

[in] A reference to the requested schema GUID.

cRestrictions

[in] A count of restrictions to be applied to the rowset.

rgRestrictions

[in] An array of cRestrictions VARIANTs that represent the restrictions.

riid

[in] The IID to request of the newly created schema rowset.

cPropertySets

[in] The count of Property Sets to set on the newly created schema rowset.

rgPropertySets

[in/out] An array of cPropertySets to set on the newly created schema rowset.

ppRowset

[out] A pointer to the requested interface on the newly created schema rowset.

Remarks

This method requires the user to have a schema map in the session class. Using the schema map information, it creates a given rowset object if the rguidSchema parameter is equal to one of the map entries GUIDs. See SCHEMA_ENTRY for a description of the map entry.

IDBSchemaRowsetImpl OverviewIDBSchemaRowsetImpl Class Members

See Also

IDBSchemaRowsetImpl::GetSchemas, Schema Rowset Classes and Typedef Classes