Direction property

Gets and sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.

Syntax
Visual Basic

Public Overrides Property Direction As ParameterDirection
C#

public override ParameterDirection Direction  { get; set; }
Property value

One of the ParameterDirection values.

Remarks

If the ParameterDirection is output, and execution of the associated SACommand does not return a value, the SAParameter contains a null value. After the last row from the last result set is read, the Output, InputOut, and ReturnValue parameters are updated.

See also