Share via


DataReader.Dispose Method

Include Protected Members
Include Inherited Members

Releases managed resources held for the DataReader instance.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Dispose() Releases managed resources held for the current DataReader instance.
Protected method Dispose(Boolean) Cleans up resources associated with the current DataReader instance, both when the public Dispose method is called and when the object is finalized with a call to the Finalize method.

Top

See Also

Reference

DataReader Class

Microsoft.VisualStudio.Data.Framework Namespace