See Also
You are here: Interfacing > C++ Client Interface > scdriver Namespace > Classes > CCommand Class > CCommand Methods > AddParameter Method > AddParameter Method (const char *, const DBPARAMETER_DIRECTION, const DATA_TYPE)
ContentsIndexHome
PreviousUpNext
CCommand::AddParameter Method (const char *, const DBPARAMETER_DIRECTION, const DATA_TYPE)

Declare output parameter

C++
public: void AddParameter(
    const char * name, 
    const DBPARAMETER_DIRECTION direction, 
    const DATA_TYPE type
);
C#
public void AddParameter(
    const char * name, 
    const DBPARAMETER_DIRECTION direction, 
    const DATA_TYPE type
);
Visual Basic
Public Function AddParameter(
    name As const char *, 
    direction As const DBPARAMETER_DIRECTION, 
    type As const DATA_TYPE
) As void
Parameters
Parameters 
Description 
name 
Name of the parameter. 
direction 
Define parameter direction as DBPARAMETER_OUT. 
type 
Data type of the parameter. 
Returns

If method fails, the node_exception exception, containing the error message, will be thrown