dotConnect for Adobe Commerce Documentation
Devart.Data Namespace / SqlShimParameter Class / Direction Property

In This Topic
    Direction Property (SqlShimParameter)
    In This Topic
    Gets or sets a value indicating whether the parameter is input-only, output-only, or bidirectional parameter.
    Syntax
    'Declaration
     
    Public Overrides Property Direction As ParameterDirection
    public override ParameterDirection Direction {get; set;}

    Property Value

    One of the System.Data.ParameterDirection values. The default value is Input.
    Remarks

    Set Direction to System.Data.ParameterDirection.ReturnValue to obtain query result as parameter.

    If the System.Data.ParameterDirection is System.Data.ParameterDirection.Output or System.Data.ParameterDirection.InputOutput, an exception is thrown.

    Please refer to article Using Parameters for more information about parameters in dotConnect for Salesforce.

    See Also