Uri.Parts

MURI

Retorna as partes de absoluteUri como um registro, com valores como Scheme, Host, Port, Path, Query, Fragment, UserName e Password.

Sintaxe

M
Uri.Parts(absoluteUri as text) as record

Parâmetros

absoluteUritextObrigatório

URI absoluto a decompor.

M
"www.adventure-works.com"

Retorna

record

Exemplo

M
Uri.Parts("www.adventure-works.com")

Resultado

M
[
    Scheme = "http",
    Host = "www.adventure-works.com",
    Port = 80,
    Path = "/",
    Query = [],
    Fragment = "",
    UserName = "",
    Password = ""
]

Mais informações

Subgrupo
Uri

Aprender Power Query ao vivo