Edit

Share via


IDataReader.Close Method

Definition

Closes the IDataReader Object.

public:
 void Close();
public void Close ();
abstract member Close : unit -> unit
Public Sub Close ()

Remarks

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

Applies to