Connection. Clear All Pools 方法
清空连接池。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 connections are in use at the time of the call, they are marked appropriately and are discarded when Close is called on them.