Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

roConfigurationElements provides an interface to enumerate configuration items which are accessed using a class which requires a name or index for construction. In these cases it is awkward to provide an enumeration as part of the class, since at least one valid name/index must be known to create an instance.

Object Creation: The roConfigurationElements object is created with no parameters.

CreateObject("roConfigurationElements")

ifConfigurationElements

GetConfiguredNetworks()

This returns an roArray of configured interface names. These include both explicitly configured networks, and interfaces using the default configuration (DHCP).


Example

config_elements = CreateObject("roConfigurationElements")
iface_array = config_elements.GetConfiguredNetworks()
For Each iface in iface_array: print iface: Next




  • No labels