SqlCeParameter.Direction Property

This property always returns ParameterDirection.Input for .NET Compact Framework Data Provider for SQL Server Compact. Setting this property to a different value causes an InvalidOperationException to be thrown.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public override ParameterDirection Direction { get; set; }

Property Value

Type: System.Data.ParameterDirection
This property always returns ParameterDirection.Input for SQL Server Compact Data Provider. Setting this property is not supported.

Implements

IDataParameter.Direction

ExceptionCondition
InvalidOperationException

The user attempted to set this property.

Show: