|Visual Basic (Declaration)|
Public Overrides Sub Close()
public override void Close()
Note that you must manually close all connections opened by the application. If a DbConnectionBase goes out of scope, it is not closed automatically till the application shuts down.
An application can call Close more than one time without generating an exception.
Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.