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
'Usage
Dim instance As DataParameterDirection
[FlagsAttribute]
public enum DataParameterDirection
[FlagsAttribute]
public enum class 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. |