你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

base64_encode_tostring()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Encodes a string as base64 string.

Deprecated aliases: base64_encodestring()

Syntax

base64_encode_tostring(string)

Learn more about syntax conventions.

Parameters

Name Type Required Description
string string ✔️ The value to encode as a base64 string.

Returns

Returns string encoded as a base64 string.

Example

print Quine=base64_encode_tostring("Kusto")

Output

Quine
S3VzdG8=