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 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.