This documentation is archived and is not being maintained.

DbDataAdapter.Dispose Method (Boolean)

.NET Framework 1.1

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

[Visual Basic]
Overrides Overloads Protected Sub Dispose( _
   ByVal disposing As Boolean _
protected override void Dispose(
 bool disposing
protected: void Dispose(
 bool disposing
protected override function Dispose(
   disposing : Boolean


true to release both managed and unmanaged resources; false to release only unmanaged resources.


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

DbDataAdapter Class | DbDataAdapter Members | System.Data.Common Namespace | DbDataAdapter.Dispose Overload List