You can
use DBSchemaRowset::GetRowset to restrict the rows that are returned
in a schema rowset. A restriction is a value for a specific column.
When a restriction is passed to IDBSchemaRowset::GetRowset, all rows
that are returned in the schema rowset must match the restriction
value on the specified column. Restriction values do not support pattern
matching or wildcards. For example, the restriction value
D_F
matches
D_F
but
not
DEF
.
Tip
To determine
which columns support restrictions, write an OLE DB consumer that
calls IDBSchemaRowset::GetSchemas.