Partager via


CCommand::CreateCommand

 

The latest version of this topic can be found at CCommand::CreateCommand.

Creates a new command.

Syntax

  
      HRESULT CCommandBase::CreateCommand(  
   const CSession& session   
) throw ( );  

Parameters

session
[in] A CSession object to be associated with the new command.

Return Value

A standard HRESULT.

Remarks

This method creates a command using the specified session object.

Requirements

Header: atldbcli.h

See Also

CCommand Class