다음을 통해 공유


ICommandImpl 클래스

Provides implementation for the ICommand interface.

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

매개 변수

  • T
    Your class, derived from ICommandImpl.

  • CommandBase
    A command interface. 기본값은 ICommand입니다.

멤버

메서드

CancelExecution

Cancels the current command execution.

취소

Cancels the current command execution.

CreateRowset

Creates a rowset object.

Execute

명령을 실행합니다.

GetDBSession

Returns an interface pointer to the session that created the command.

ICommandImpl

생성자입니다.

데이터 멤버

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.

설명

A mandatory interface on the command object.

요구 사항

Header: atldb.h

참고 항목

개념

OLE DB 공급자 템플릿(C++)

OLE DB 공급자 템플릿 구조