다음을 통해 공유


CDynamicParameterAccessor::SetParamLength

 

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 CDynamicParameterAccessor::SetParamLength.

Sets the length of the specified parameter stored in the buffer.

Syntax

  
      bool SetParamLength(  
   DBORDINAL nParam,  
   DBLENGTH length  
);  

Parameters

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.

length
[in] The length in bytes of the specified parameter.

Remarks

Returns true on success or false on failure.

Requirements

Header: atldbcli.h

See Also

CDynamicParameterAccessor Class