2009-10-05から1日間の記事一覧

他サーバーのIISアプリケーションプール・リサイクル

using (ServerManager server = ServerManager.OpenRemote(サーバー名)) { ApplicationCollection pools = server.ApplicationPools; foreach (ApplicationPool pool in pools) { if (pool.Name == 対象のプール名) pool.Recycle(); } }動作しているプログラ…