Name

ParameterDirection

Synopsis

This enumeration specifies the IDataParameter.Direction property. Input, the default, indicates a parameter passed into a stored procedure. Output specifies a parameter passed back from a stored procedure. InputOutput specifies a parameter that is passed in to and back from the stored procedure. Finally, ReturnValue specifies a parameter that is the return value of the stored procedure.

public enum ParameterDirection {

   Input = 1,

   Output = 2,

   InputOutput = 3,

   ReturnValue = 6

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ParameterDirection

Returned By

IDataParameter.Direction, System.Data.OleDb.OleDbParameter.Direction, System.Data.OracleClient.OracleParameter.Direction, System.Data.SqlClient.SqlParameter.Direction

Passed To

IDataParameter.Direction, System.Data.OleDb.OleDbParameter.{Direction, OleDbParameter( )}, System.Data.OracleClient.OracleParameter.{Direction, OracleParameter( )}, System.Data.SqlClient.SqlParameter.{Direction, SqlParameter( )}

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.