Skip to content

Latest commit

 

History

History
83 lines (71 loc) · 2.33 KB

File metadata and controls

83 lines (71 loc) · 2.33 KB
title ICommandImpl Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
ICommandImpl
dev_langs
C++
helpviewer_keywords
ICommandImpl class
ms.assetid ef285fef-0d66-45e6-a762-b03357098e3b
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

ICommandImpl Class

Provides implementation for the ICommand interface.

Syntax

template <class T, class CommandBase = ICommand>   
class ATL_NO_VTABLE ICommandImpl : public CommandBase  

Parameters

T
Your class, derived from ICommandImpl.

CommandBase
A command interface. The default is ICommand.

Members

Methods

CancelExecution Cancels the current command execution.
Cancel Cancels the current command execution.
CreateRowset Creates a rowset object.
Execute Executes the command.
GetDBSession Returns an interface pointer to the session that created the command.
ICommandImpl The constructor.

Data Members

m_bCancel Indicates whether the command is to be canceled.
m_bCancelWhenExecuting Indicates whether the command is to be canceled when executing.
m_bIsExecuting Indicates whether the command is currently executing.

Remarks

A mandatory interface on the command object.

Requirements

Header: atldb.h

See Also

OLE DB Provider Templates
OLE DB Provider Template Architecture