CDynamicParameterAccessor::SetParamStatus

 

The latest version of this topic can be found at CDynamicParameterAccessor::SetParamStatus.

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

Syntax

  
      bool SetParamStatus(  
   DBORDINAL nParam,  
   DBSTATUS status  
);  

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.

status
[in] The DBSTATUS status of the specified parameter. For information on DBSTATUS values, see Status in the OLE DB Programmer's Reference, or search for DBSTATUS in oledb.h.

Remarks

Returns true on success or false on failure.

Requirements

Header: atldbcli.h

See Also

CDynamicParameterAccessor Class