SqlDataReader.IDisposable.Dispose Method

Definition

Releases all resources that are used by the data reader.

C#
void IDisposable.Dispose();

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the SqlDataReader instance is cast to an IDisposable interface.

Applies to

Product Versions
.NET Framework 1.1