Closes the connection to the database if it is open. If there is no open Connection no harm is done by calling this method. If there is an open connection and there is also an open transaction the transaction will be rolled back before the connection is closed.

Namespace:  Asi.iBO
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public void CloseConnection()
Visual Basic (Declaration)
Public Sub CloseConnection
Visual C++
public:
void CloseConnection()

See Also