Histórico da Página
Composition Setup |
---|
import.css=/download/attachments/3279126062824/newLayouttecnologia.css |
Portuguese |
Pagetitle | ||||
---|---|---|---|---|
|
Função: GetComputerName
Retorna
...
o
...
nome
...
da
...
máquina
...
(Hostname)
...
onde
...
o
...
Smart
...
Client
...
está
...
sendo
...
executado.
Sintaxe
Bloco de código | ||
---|---|---|
| ||
GetComputerName() --> cRet
|
Retorno
Nome | Tipo | Descrição |
---|---|---|
cRet |
...
caractere | Retorna o nome da máquina (Hostname) onde o Smart Client está sendo executado. |
Exemplos
Bloco de código | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
user function exemplo ()
Local cCompName:= ""
cCompName := GetComputerName()
conout("Nome da maquina: " + cCompName)
Return
GetComputerName() // Resultado: "TEC-USER01" |
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
Tarefas