Close method

Closes the database connection.

Syntax
Visual Basic

Public Overrides Sub Close()
C#

public override void Close();
Remarks

The Close method rolls back any pending transactions and then closes the connection. An application can call Close multiple times.

See also