Share via


SqliteConnection.ClearPool(SqliteConnection) Method

Definition

Empties the connection pool associated with the connection.

public static void ClearPool (Microsoft.Data.Sqlite.SqliteConnection connection);
static member ClearPool : Microsoft.Data.Sqlite.SqliteConnection -> unit
Public Shared Sub ClearPool (connection As SqliteConnection)

Parameters

connection
SqliteConnection

The connection.

Remarks

Any open connections will not be returned the the pool when closed.

Applies to