Partager 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

'Déclaration
<FlagsAttribute> _
Public Enumeration DataParameterDirection
[FlagsAttribute]
public enum DataParameterDirection
[FlagsAttribute]
public enum class DataParameterDirection
[<FlagsAttribute>]
type DataParameterDirection
public enum DataParameterDirection

Members

Member name Description
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.
In The parameter can be passed into the command.
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.
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.
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.

See Also

Reference

Microsoft.VisualStudio.Data Namespace

DataParameter