共用方式為


CCommand::GetParameterInfo

 

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 CCommand::GetParameterInfo.

Gets a list of the command's parameters, their names, and their types.

Syntax

  
      HRESULT CCommandBase::GetParameterInfo(  
   DB_UPARAMS* pParams,  
   DBPARAMINFO** ppParamInfo,  
   OLECHAR** ppNamesBuffer   
) throw ( );  

Parameters

See ICommandWithParameters::GetParameterInfo in the OLE DB Programmer's Reference.

Return Value

A standard HRESULT.

Requirements

Header: atldbcli.h

See Also

CCommand Class