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 © 2013 CA. All rights reserved. |
|