CdbParameter::SetDirection, GetDirection Property

Sets or returns a value that indicates whether the Parameter object represents an input parameter, an output parameter, both, or the return value from the procedure (ODBCDirect workspaces only).

Syntax

VOIDSetDirection(SHORT i);

SHORTGetDirection(VOID);

Set Parameters

Type Example Description
SHORT i A Short with one of the values shown in Settings.

Settings

Constant Description
dbParamInput (Default) Passes information to the procedure.
dbParamInputOutput Passes information both to and from the procedure.
dbParamOutput Returns information from the procedure as in an output parameter in SQL.
dbParamReturnValue Passes the return value from a procedure.