Obtains the identifier of the machine.
1 system.server.getHostName
<system.server.getHostName />
Returns | |
---|---|
Type | Description |
string | Host identifier. |
Example
Obtain the id of the PC.
Copy
<xsql-script name='system_getHostName_sample1'> <body> <println> <system.server.getHostName /> </println> </body> </xsql-script>
An example of returned value would be:
Copy
golum