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)
Syntax
'Declaration
Public Overrides Property Direction As ParameterDirection
Get
Set
'Usage
Dim instance As SqlCeParameter
Dim value As ParameterDirection
value = instance.Direction
instance.Direction = value
public override ParameterDirection Direction { get; set; }
public:
virtual property ParameterDirection Direction {
ParameterDirection get () override;
void set (ParameterDirection value) override;
}
abstract Direction : ParameterDirection with get, set
override Direction : ParameterDirection with get, set
override function get Direction () : ParameterDirection
override function set Direction (value : ParameterDirection)
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
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The user attempted to set this property. |