Share via


IRelationalConnection.Close Method

Definition

Closes the connection to the database.

public void Close ();
public bool Close ();
abstract member Close : unit -> unit
abstract member Close : unit -> bool
Public Sub Close ()
Public Function Close () As Boolean

Returns

true if the underlying connection was actually closed; false otherwise.

Applies to