Partilhar via


ContextModelExtensions.WithAccount(IAzureContext, IAzureAccount) Method

Definition

public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext WithAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account);
static member WithAccount : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext
<Extension()>
Public Function WithAccount (context As IAzureContext, account As IAzureAccount) As IAzureContext

Parameters

context
IAzureContext
account
IAzureAccount

Returns

Applies to