DataParameterDirection Enum

Definition

Specifies the direction of a data parameter for a specified data command.

This enumeration supports a bitwise combination of its member values.

public enum class DataParameterDirection
[System.Flags]
public enum DataParameterDirection
[<System.Flags>]
type DataParameterDirection = 
Public Enum DataParameterDirection
Inheritance
DataParameterDirection
Attributes

Fields

In 1

The parameter can be passed into the command.

InOut 3

The parameter can be passed into the command and read from the command. After executing, the returned DataReader object instance must be closed before a parameter of this direction is read.

Out 2

The parameter can be read only from the command. After executing, the returned DataReader object instance must be closed before a parameter of this direction is read.

ReturnValue 6

The parameter is a return value from the command. After executing, the returned DataReader object instance must be closed before a parameter of this direction is read.

Unknown 0

The parameter direction is unknown. This value may be used in derived parameters when a provider does not know how to return direction information.

Applies to