Close Method
Collapse the table of content
Expand the table of content

IDataReader.Close Method

Closes the IDataReader 0bject.

[Visual Basic]
Sub Close()
void Close();
void Close();
function Close();


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


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

See Also

IDataReader Interface | IDataReader Members | System.Data Namespace

© 2016 Microsoft