| description | Learn more about: IDBCreateCommandImpl Class | |||||
|---|---|---|---|---|---|---|
| title | IDBCreateCommandImpl Class | |||||
| ms.date | 11/04/2016 | |||||
| f1_keywords |
|
|||||
| helpviewer_keywords |
|
|||||
| ms.assetid | eac4755e-1668-42e1-958e-a35620c385ae |
Provides an implementation of the IDBCreateCommand interface.
template <class T, class CommandClass >
class ATL_NO_VTABLE IDBCreateCommandImpl
: public IDBCreateCommandT
The session object derived from IDBCreateCommandImpl.
CommandClass
Your command class.
Header: atldb.h
| Name | Description |
|---|---|
| CreateCommand | Creates a new command. |
An optional interface on the session object to obtain a new command.
Creates a new command and returns the requested interface.
STDMETHOD(CreateCommand)(IUnknown * pUnkOuter,
REFIID riid,
IUnknown ** ppvCommand);See IDBCreateCommand::CreateCommand in the OLE DB Programmer's Reference.
Some parameters correspond to OLE DB Programmer's Reference parameters of different names, which are described in IDBCreateCommand::CreateCommand:
| OLE DB Template parameters | OLE DB Programmer's Reference parameters |
|---|---|
| ppvCommand | ppCommand |
OLE DB Provider Templates
OLE DB Provider Template Architecture