DataReader.Dispose Method

Releases managed resources held for the current DataReader instance.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Sub Dispose
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit 
override Dispose : unit -> unit 
public final function Dispose()

Implements

IDisposable.Dispose()

Remarks

This method ensures all resources associated with the current DataReader object instance are released.

.NET Framework Security

See Also

Reference

DataReader Class

Dispose Overload

Microsoft.VisualStudio.Data Namespace