You can use the IIsWebFile object to set metabase key values that apply to a file in a Web directory for a Web virtual server. Metabase property values set for a specific file will override inherited values that have been set at a higher level in the metabase hierarchy.
The IIsWebFile object is an ADSI object, but not an ADSI Container object..
Where MachineName can be any name or "LocalHost".
varReturn = object.{Method}
Metabase Properties
ADSI Object Methods | Standard methods for ADSI objects. |
Common Object Methods | Methods, other than ADSI methods, common to all IIS Admin Objects. |