Sdílet prostřednictvím


SqlCeParameter.Direction Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

  [Visual Basic]
  Public Overridable Property Direction As ParameterDirection  _
   Implements IDataParameter.Direction
[C#]
public virtual ParameterDirection Direction {get; set;}
[C++]
public: __property virtual ParameterDirection get_Direction();
public: __property virtual void set_Direction(ParameterDirection);
[JScript]
public function get Direction() : ParameterDirection;
public function set Direction(ParameterDirection);

Property Value

Not supported.

Implements

IDataParameter.Direction

Exceptions

Exception Type Condition
InvalidOperationException The user attempted to set this property.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeParameter Class | SqlCeParameter Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.