IDataReader.Close Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Closes the IDataReader Object.

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

Sub 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: