IDataConnection.CloseConnection Method

Closes the connection of the database if the connection is not already closed.

Namespace:  Microsoft.SqlServerCe.Management.Scripting
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)

Syntax

'Declaration
Sub CloseConnection
'Usage
Dim instance As IDataConnection

instance.CloseConnection()
void CloseConnection()
void CloseConnection()
abstract CloseConnection : unit -> unit 
function CloseConnection()

See Also

Reference

IDataConnection Interface

Microsoft.SqlServerCe.Management.Scripting Namespace