IIsLogModules 개체는 IIsLogModule 개체의 컬렉션이 들어 있는 ADSI 컨테이너 개체입니다. IIsLogModules 개체를 사용하여 컴퓨터 수준(IIsComputer)에서 로그 모듈을 관리할 수 있습니다.
IIsLogModules 개체는 ADSI 컨테이너 개체입니다.
여기서 MachineName은 임의의 이름 또는 "LocalHost"일 수 있습니다.
varReturn = object.Method
| IIsLogModule |
| ADSI 개체 속성 |
| ADSI 개체 메서드 | ADSI 개체의 표준 메서드입니다. |
| ADSI 컨테이너 개체 메서드 | ADSI 컨테이너 개체의 표준 메서드입니다. |
<%
'Get log properties for a log module at a server.
Dim LoggingModules, CurrentObj
'Get the object for the first Web server.
Set CurrentObj = GetObject("IIS://LocalHost/W3SVC/1")
'Access the log modules at the computer level.
Set LoggingModules = GetObject("IIS://LocalHost/logging")
'Loop through the installed modules to find the currently
'selected module at this server.
If CurrentObj.LogPluginClsid <> "" Then
For Each LogModule in LoggingModules
If LogModule.LogModuleID = CurrentObj.LogPluginClsid Then
Response.Write LogModule.Name & "<BR>"
End If
Next
'Display a property of the current module.
Response.Write CurrentObj.LogFileDate
End If
%>