CRestrictions Class

A generic class that allows you to specify restrictions for schema rowsets.

template < 
   class T, 
   short nRestrictions, 
   const GUID* pguid 
>
class CRestrictions : public CSchemaRowset < 
   T, 
   nRestrictions  
>

Parameters

  • T
    The class used for the accessor.

  • nRestrictions
    The number of restriction columns for the schema rowset.

  • pguid
    A pointer to the GUID for the schema.

Members

Methods

Open

Returns a result set according to the user-supplied restrictions.

Requirements

Header: atldbsch.h

See Also

Concepts

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference