RAD Studio VCL Reference
|
Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
property Direction: ParameterDirection;
__property ParameterDirection Direction;
Direction is one of the ParameterDirection enumeration values.
If you want to use output or return parameters with stored procedures, you need to set this property. If the direction is output, and execution of the associated TAdoDbxCommand does not return a value, the TAdoDbxParameter contains a null value. After the last row from the last result set is read, Output, InputOutput, and ReturnValue parameters are updated. The default is Input.
Constant |
Description |
Input |
The parameter is an input parameter. |
InputOutput |
The parameter can accept both input and output. |
Output |
The parameter is an output parameter. |
ReturnValue |
The parameter represents a return value from an operation such as a stored procedure, built-in function, or user-defined function. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|