SqlCeDataReader.Close Method

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

Closes the SqlCeDataReader object.

  [Visual Basic]
  Public Overridable Sub Close() Implements IDataReader.Close

  [C#]
  public virtual void Close();
[C++]
public: virtual void Close();
[JScript]
public function Close();

Implements

IDataReader.Close

Remarks

To use the associated SqlCeConnection for any other purpose, you first must explicitly call the Close method when you are through using the SqlCeDataReader; however, you can create multiple readers in the same connection.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeDataReader Class | SqlCeDataReader 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.