AppDelete

IIsWebDirectory 또는 IIsWebVirtualDir 개체의 AppDelete 메서드를 사용하여 메타베이스 키에서 웹 응용 프로그램 정의를 삭제할 수 있습니다. 실행 중인 응용 프로그램은 모두 종료됩니다. 응용 프로그램이 IIS의 in-process이면 리소스가 다른 in-process 응용 프로그램에서 참조되지 않는 한, out-of-process 응용 프로그램과 같은 응용 프로그램과 관련된 모든 리소스가 해제됩니다.

참고   서버 구성 요소 DLL은 현재 다른 응용 프로그램에서 참조되지 않아도 in-process 응용 프로그램에서 해제되지 않습니다.

AppDelete를 사용한 삭제 작업은 취소할 수 없습니다.

구문

DirObj.AppDelete

매개 변수

DirObj
IIsWebDirectory 또는 IIsWebVirtualDir 형식의 IIS 관리 개체입니다.

코드 예

<% 
  Dim DirObj 
  Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppDir") 
  'Delete the application at this directory. 
  DirObj.AppDelete 
%> 
 

관련 항목

AppCreate, AppDeleteRecursive, AppUnload, AppUnloadRecursive, AppGetStatus, AppDisable, AppDisableRecursive, AppEnable, AppEnableRecursive, AspAppRestart


© 1997-2001 Microsoft Corporation. All rights reserved.