GetEx

The ADSI GetEx method retrieves a single- or multi-valued property value from the object into a variant-array variable.

Syntax

value = object.GetEx(property)
 

Parts

value
Receives the returned property value from the method.
object
Contains an IIS Admin Object, usually as a result of a previous GetObject operation.
property
A property of the object that has been retrieved from the metabase.

Return Values

Returns the value of the property.

Code Example

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

See Also

GetInfo, SetInfo, Get, Put, PutEx, GetInfoEx