GetAvailableDirectoryOptions Method (IPISDKOptions interface)



This method returns a NamedValues collection of available Directory options. The contained NamedValue objects represent the options where the Name property is the option name.  The Value property has no meaning. 



The object placeholder is an object expression that evaluates to an IPISDKOptions interface, obtained from a PISDK object.


The options currently managed by this method are:

Setting Description Default
AutoAdd When looking for a server in Servers.Item or ServerManager.Item, if an entry from the Known Servers Table (including checking aliases, etc.) can't be found, create a new Server object and return it. In the case of Servers, there is no request to connect so the only check by default is that the passed name can be resolved to an IP address. For ServerManager, if a connection cannot be made with the new server, an error is returned. True
CheckIP The check for a network resolvable name when performing an "AutoAdd" can be disabled by the "CheckIP" setting . True


Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:



E_INVALIDARG, E_POINTER Some of the function arguments are not valid.
Enabling Operational Intelligence