다음을 통해 공유


CDynamicParameterAccessor::GetParamType

Retrieves the data type of a specified parameter.

bool GetParamType( 
   DBORDINAL nParam, 
   DBTYPE* pType  
) const throw( );

매개 변수

  • nParam
    [in] The parameter number (offset from 1). Parameter 0 is reserved for return values. The parameter number is the index of the parameter based on its order in the SQL or stored procedure call. See SetParam for an example.

  • pType
    [out] A pointer to the variable containing the data type of the specified parameter.

반환 값

Returns true on success or false on failure.

요구 사항

헤더: atldbcli.h

참고 항목

참조

CDynamicParameterAccessor 클래스