Retorna o nome da máquina (Hostname) onde o Smart Client está sendo executado.
Sintaxe
GetComputerName()
Retorno
Nome | Tipo | Descrição |
---|---|---|
cRet | caractere | Retorna o nome da máquina (Hostname) onde o Smart Client está sendo executado. |
Exemplos
Exemplo 1
user function exemplo () Local cCompName:= "" cCompName := GetComputerName() conout("Nome da maquina: " + cCompName) Return
Abrangência
Advanced Protheus 6.09, Advanced Protheus 7.10, Microsiga Protheus 8.11, Protheus 10, TOTVS Application Server 10, ByYou Application Server
Visão Geral
Import HTML Content
Conteúdo das Ferramentas