Export (0) Print
Expand All

OracleDataReader.Close Method

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

Closes the OracleDataReader 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

More than one OracleDataReader can be open at any given time.

CAUTION   Do not call Close or Dispose on a Connection, a DataReader, or any other managed object in the Finalize method of your class. In a finalizer, you should only release unmanaged resources that your class owns directly. If your class does not own any unmanaged resources, do not include a Finalize method in your class definition. For more information, see Programming for Garbage Collection.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleDataReader Class | OracleDataReader Members | System.Data.OracleClient Namespace

Show:
© 2014 Microsoft