Name

ParameterDirectionEnum Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

The ParameterDirectionEnum enumeration indicates whether the parameter receives information, returns information, both receives and returns information, or if it is a return value of a stored procedure.

Table E-34. The ParameterDirectionEnum Enumeration

Enumeration (ADO/WFC)

Value

Description

adParamInput (INPUT)
1

Default. Input parameter only.

adParamInputOutput (INPUTOUTPUT)
3

Both an input and output parameter.

adParamOutput (OUTPUT)
2

Output parameter only.

adParamReturnValue (RETURNVALUE)
4

A return value from a command.

adParamUnknown (UNKNOWN)
0

Unknown parameter type.

ADO/WFC

The ParameterDirectionEnum enumeration is part of the com.ms.wfc.data package, and the constant values are preceded with AdoEnums.ParameterDirection.

See Also

Command.CreateParameter Method, Parameter.Direction Property

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.