This method returns the host name or address that was specified when creating the RemoteTarget object.
This method has the following syntax:
getHostName()
The method returns a string with the hostname or address of the target node.
Example
Implicitly create a RemoteTarget object and retrieve the hostname:
aRT = run-remote "! ver" on "ascli1" ? aRT[0].getHostName()
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |