SqlConnection.ClearAllPools SqlConnection.ClearAllPools SqlConnection.ClearAllPools SqlConnection.ClearAllPools Method

定義

接続プールを空にします。Empties the connection pool.

public:
 static void ClearAllPools();
public static void ClearAllPools ();
static member ClearAllPools : unit -> unit
Public Shared Sub ClearAllPools ()

注釈

ClearAllPools 接続プールをリセットします (または空に)。ClearAllPools resets (or empties) the connection pool. 適切にマークし、ときに、プールに返される) ではなく破棄の呼び出し時に使用中の接続がある場合Closeがそれらで呼び出されます。If there are connections in use at the time of the call, they are marked appropriately and will be discarded (instead of being returned to the pool) when Close is called on them.

適用対象

こちらもご覧ください