ContextModelExtensions.WithAccount(IAzureContext, IAzureAccount) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
C#
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
- context
- IAzureContext
- account
- IAzureAccount
Product | Versions |
---|---|
Azure - PowerShell Commands | 12 (LTS), Latest |
Azure RM - PowerShell Commands | Latest |