Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDataReader::Close Method ()

 

Closes the IDataReader Object.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

void Close()

You must explicitly call the Close method when you are through using the IDataReader to use the associated IDbConnection for any other purpose.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft