please dont rip this site

IIsLogModules

The IIsLogModules object is an ADSI container object that contains the collection of IIsLogModule objects. You can use the IIsLogModules object to manage log modules at the computer level.

The IIsLogModules object is an ADSI container object.

ADsPath

IIS://MachineName/logging

Where MachineName can be any name or "LocalHost".

Syntax

varReturn = object.{Method}
 

Parts

varReturn
A variable that receives the return value from the method.
object
A variable that contains the IIsLogModules object, usually as a result of a previous GetObject operation.
Method
The object method chosen.

May contain

IIsLogModule

Properties

ADSI Object Properties

Methods

ADSI Object Methods Standard methods for ADSI objects
ADSI Container Object Methods Standard methods for ADSI container objects
Common Object Methods Methods, other than ADSI methods, common to all IIS Admin Objects

Code Example

<% 
' 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 
%> 
 

© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/inet/iis/iis/htm/sdk/aoii5pyr.htm, 3KB, , updated: 2002/5/22 16:36, local time: 2024/5/13 17:32,
TOP NEW HELP FIND: 
3.17.74.55:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/techref/inet/iis/iis/htm/sdk/aoii5pyr.htm"> IIsLogModules</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .