共用方式為


AzureAccountExtensions.SetAccessToken(IAzureAccount, String) Method

Definition

public static void SetAccessToken (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, string token);
static member SetAccessToken : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * string -> unit
<Extension()>
Public Sub SetAccessToken (account As IAzureAccount, token As String)

Parameters

account
IAzureAccount
token
String

Applies to