Share via


DataParameterDirection Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration DataParameterDirection
[FlagsAttribute]
public enum DataParameterDirection
[FlagsAttribute]
public enum class DataParameterDirection
[<FlagsAttribute>]
type DataParameterDirection
public enum DataParameterDirection

Members

Member name Description
In The parameter can be passed into the command.
InOut 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 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 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 The parameter direction is unknown. This value may be used in derived parameters when a provider does not know how to return direction information.

See Also

Reference

Microsoft.VisualStudio.Data Namespace

DataParameter