Data.Win.ADODB.TParameterDirection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TParameterDirection = (pdUnknown, pdInput, pdOutput, pdInputOutput,
pdReturnValue);

C++

enum DECLSPEC_DENUM TParameterDirection : unsigned char { pdUnknown, pdInput, pdOutput, pdInputOutput, pdReturnValue };

Properties

Type Visibility Source Unit Parent
enum public
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB Data.Win.ADODB

Description

TParameterDirection specifies the direction of a parameter.

Use a TParameterDirection value to specify whether a parameter is an input parameter, an output parameter, both, or conveys a return value.

The constants that make up the TParameterDirection type correspond directly to the ADO ParameterDirectionEnum constants with similar names used for the Direction property of the ADO Parameter object. For instance, the constant pdInput corresponds to the ADO constant adParamInput. For additional information on these ADO constants and their effects, see the Microsoft Data Access SDK help in the topic for the Direction property of the ADO Parameter object.

TParameterDirection consists of the five constants summarized in the following table:



Parameter Direction Meaning

pdUnknown

Parameter direction is unknown or cannot be determined.

pdInput

Parameter can only be used to convey data to a stored procedure or SQL statement.

pdOutput

Parameter can only be used to convey data from a stored procedure or SQL statement.

pdInputOutput

Parameter can be used to convey data to or from a stored procedure or SQL statement.

pdReturnValue

Parameter is used to convey a return value.



See Also