OracleConnection.ClearPool(OracleConnection) Metodo

Definizione

Svuota il pool di connessioni associato alla connessione specificata.Empties the connection pool associated with the specified connection.

public:
 static void ClearPool(System::Data::OracleClient::OracleConnection ^ connection);
public static void ClearPool (System.Data.OracleClient.OracleConnection connection);
static member ClearPool : System.Data.OracleClient.OracleConnection -> unit
Public Shared Sub ClearPool (connection As OracleConnection)

Parametri

connection
OracleConnection

Oggetto OracleConnection da cancellare dal pool.The OracleConnection to be cleared from the pool.

Commenti

ClearPool metodo cancella il pool di connessioni associato al connection.ClearPool method clears the connection pool that is associated with connection. Se al momento della chiamata vengono utilizzate connessioni aggiuntive associate a connection, queste vengono contrassegnate in modo appropriato e vengono eliminate quando viene chiamato Close.If additional connections associated with connection are in use at the time of the call, they are marked appropriately and are discarded when Close is called on them.

Si applica a