次の方法で共有


CRestrictions Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CRestrictions Class.

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

Syntax

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

OLE DB Consumer Templates
OLE DB Consumer Templates Reference