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

AzureContextExtensions.GetAccount Method

Definition

Overloads

GetAccount(IAzureContextContainer, String)
GetAccount(IAzureContextContainer, String)

GetAccount(IAzureContextContainer, String)

public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount GetAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer container, string account);
static member GetAccount : Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer * string -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount
<Extension()>
Public Function GetAccount (container As IAzureContextContainer, account As String) As IAzureAccount

Parameters

account
String

Returns

Applies to

GetAccount(IAzureContextContainer, String)

public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount GetAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer container, string account);
static member GetAccount : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer * string -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount
<Extension()>
Public Function GetAccount (container As IAzureContextContainer, account As String) As IAzureAccount

Parameters

account
String

Returns

Applies to