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

RMProfileClient.AcquireAccessToken(String, Action<String>) Method

Definition

public Microsoft.Azure.Commands.Common.Authentication.IAccessToken AcquireAccessToken (string tenantId, Action<string> promptAction = default);
member this.AcquireAccessToken : string * Action<string> -> Microsoft.Azure.Commands.Common.Authentication.IAccessToken
Public Function AcquireAccessToken (tenantId As String, Optional promptAction As Action(Of String) = Nothing) As IAccessToken

Parameters

tenantId
String
promptAction
Action<String>

Returns

Applies to