The ADSI GetEx method retrieves a single- or multi-valued property value from the object into a variant-array variable.
value = object.GetEx(property)
Returns the value of the property.
<% Dim IIsObj, vList Set IIsObj = GetObject("IIS://LocalHost/W3SVC/Info") ' Get the value from the object vList = IIsObj.GetEx("CustomErrorDescriptions") ' Modify the list ' Put the values back in the object IIsObj.PutEx 2, "CustomErrorDescriptions", vList IIsObj.SetInfo %>
GetInfo, SetInfo, Get, Put, PutEx, GetInfoEx