IIsWebVirtualDir

IIsWebVirtualDir 개체를 사용하여 웹 사이트에서 하나 이상의 가상 디렉터리에 적용할 메타베이스 속성을 설정할 수 있습니다. 서버의 루트 디렉터리(.../W3SVC/2/ROOT)에서 IIsWebVirtualDir 개체를 사용하면 모든 가상 하위 디렉터리에 대해 상속 가능한 속성 값이 적용됩니다. 특정 가상 디렉터리(.../W3SVC/2/ROOT/AVdir)에 대해 IIsWebVirtualDir 개체를 사용하면 해당 가상 디렉터리의 속성을 설정할 수 있습니다.

IIsWebVirtualDir 메서드를 사용하여 웹 가상 디렉터리와 가상 하위 디렉터리에 있는 웹 응용 프로그램을 작성 및 관리할 수 있습니다. 또한 웹 디렉터리에 있는 응용 프로그램을 정의 및 관리할 수 있습니다. IIsWebDirectory를 참조하십시오.

IIsWebVirtualDir 개체는 ADSI 컨테이너 개체입니다.

ADsPath

서버의 루트 가상 디렉터리의 경우에는 다음과 같습니다.

IIS://MachineName/W3SVC/N/ROOT

여기서 MachineName은 임의의 이름 또는 "LocalHost"일 수 있습니다.

특정 가상 디렉터리의 경우에는 다음과 같습니다.

IIS://MachineName/W3SVC/N/ROOT/vdirName

여기서 MachineName은 임의의 이름 또는 "LocalHost"일 수 있습니다.

구문

varReturn = object.Method

인수

varReturn
이 메서드로부터 반환 값을 받는 변수입니다.
object
대개 이전 GetObject 실행 결과로서 IIsWebVirtualDir 개체를 포함하는 변수입니다.
Method
선택한 개체 메서드입니다.

포함

IIsWebVirtualDir IIsWebFile
IIsWebDirectory

속성

ADSI 개체 속성

메타베이스 속성

A – Asp...
AccessExecute AspBufferingOn
AccessFlags AspCodepage
AccessNoRemoteExecute AspEnableApplicationRestart
AccessNoRemoteRead AspEnableAspHtmlFallback
AccessNoRemoteScript AspEnableChunkedEncoding
AccessNoRemoteWrite AspEnableParentPaths
AccessRead AspEnableTypelibCache
AccessSource AspErrorsToNTLog
AccessScript AspExceptionCatchEnable
AccessSSL AspLogErrorRequests
AccessSSL128 AspProcessorThreadMax
AccessSSLFlags AspQueueConnectionTestTime
AccessSSLMapCert AspQueueTimeout
AccessSSLNegotiateCert AspRequestQueueMax
AccessSSLRequireCert AspScriptEngineCacheMax
AccessWrite AspScriptErrorMessage
AnonymousPasswordSync AspScriptErrorSentToBrowser
AnonymousUserName AspScriptFileCacheSize
AnonymousUserPass AspScriptLanguage
AppAllowClientDebug AspScriptTimeout
AppAllowDebugging AspSessionMax
AppFriendlyName AspSessionTimeout
AppIsolated AspThreadGateEnabled
AppOopRecoverLimit AspThreadGateLoadHigh
AppPackageID AspThreadGateLoadLow
AppPackageName AspThreadGateSleepDelay
AppRoot AspThreadGateSleepMax
AppWamClsID AspThreadGateTimeSlice
AspAllowOutOfProcComponents AspTrackThreadingModel
AspAllowSessionState
Auth...– U
AuthAnonymous DirBrowseShowTime
AuthBasic DontLog
AuthFlags EnableDefaultDoc
AuthNTLM EnableDirBrowsing
AuthPersistence EnableDocFooter
AuthPersistSingleRequest EnableReverseDns
AuthPersistSingleRequestIfProxy HttpCustomHeaders
AuthPersistSingleRequestAlwaysIfProxy HttpErrors
CacheControlCustom HttpExpires
CacheControlMaxAge HttpPics
CacheControlNoCache HttpRedirect
CacheISAPI IPSecurity
ContentIndexed LogonMethod
CpuAppEnabled MimeMap
CpuCgiEnabled Path
CreateCGIWithNewConsole PoolIDCTimeout
CreateProcessAsUser PutReadSize
DefaultDoc Realm
DefaultDocFooter RedirectHeaders
DefaultLogonDomain ScriptMaps
DirBrowseFlags SSIExecDisable
DirBrowseShowDate UNCAuthenticationPassthrough
DirBrowseShowExtension UNCPassword
DirBrowseShowLongDate UNCUserName
DirBrowseShowSize UploadReadAheadSize

메서드

AppCreate 지정한 메타베이스 키에서 응용 프로그램을 작성합니다. 매개 변수는 Boolean입니다.
AppCreate2 지정한 메타베이스 키에서 응용 프로그램을 작성합니다. 매개 변수는 Long입니다.
AppDelete 지정한 키에서 응용 프로그램 정의를 삭제합니다.
AppDeleteRecursive 지정한 키와 하위 키에서 응용 프로그램 정의를 삭제합니다.
AppDisable 지정한 키에서 응용 프로그램을 비활성화합니다.
AppDisableRecursive 지정한 키와 하위 키에서 응용 프로그램을 비활성화합니다.
AppEnable 지정한 키에서 전에 비활성화한 응용 프로그램을 활성화합니다.
AppEnableRecursive 지정한 키와 하위 키에서 전에 비활성화한 응용 프로그램을 활성화합니다.
AppGetStatus 응용 프로그램의 상태를 검색합니다.
AppUnload 지정한 키에서 응용 프로그램을 언로드합니다.
AppUnloadRecursive 지정한 키와 하위 키에서 응용 프로그램을 언로드합니다.
AspAppRestart 이 메서드는 자신을 호출한 ASP 응용 프로그램을 다시 실행합니다.

관련 항목

ADSI 개체 메서드 ADSI 개체의 표준 메서드입니다.
ADSI 컨테이너 개체 메서드 ADSI 컨테이너 개체의 표준 메서드입니다.


© 1997-2001 Microsoft Corporation. All rights reserved.