DbDataReader.Dispose 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.

Releases the resources used by the DbDataReader and calls Close.

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

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the DbDataReader class.

System_CAPS_protmethodDispose(Boolean)

Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources.

Return to top
Show: