AspAppRestart
IIsWebDirectory または IIsWebVirtualDir オブジェクトの AspAppRestart メソッドは、ASP アプリケーションを再起動します。このメソッドを使用することで、Global.asa ファイルにアクセスしたり、Web サービス自体を停止および開始したりすることなく ASP アプリケーションを再起動できます。基本的に、ユーザーはオン デマンドでアプリケーションを再起動できます。
構文
DirObj.AspAppRestart( )
パラメータ
- DirObj
IIsWebDirectory または IIsWebVirtualDir タイプの ASP アプリケーション オブジェクトです。
関連項目
AppCreate、AppDelete、AppDeleteRecursive、AppUnload、AppUnloadRecursive、AppGetStatus、AppDisable、AppDisableRecursive、AppEnable、AppEnableRecursive