Show TOC

Getting or Setting System AliasesLocate this document in the navigation structure

Procedure

This section describes how to get and how to set system aliases.

The examples below use mySystem , which is an ISystem object.

  • Get a system's aliases.

                      String[] aliases = mySystem.getAliases();
                   
  • Add/remove an alias for a system.

                      mySystem.addAlias("alias2");
                       
                      mySystem.removeAlias("alias1");
                   
  • Set a system's default alias.

                      mySystem.changeDefaultAlias ("alias2");