DbDataReader.Dispose Method (Boolean)
.NET Framework 4.6 and 4.5
Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources.
protected virtual void Dispose(
- Type: System.Boolean
true to release managed and unmanaged resources; false to release only unmanaged resources.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Supported in: 3.0, 2.0, 1.0