共用方式為


AzureRmAutosaveProfile.TrySetEnvironment Method

Definition

public bool TrySetEnvironment (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, out Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment mergedEnvironment);
abstract member TrySetEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * IAzureEnvironment -> bool
override this.TrySetEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * IAzureEnvironment -> bool
Public Function TrySetEnvironment (environment As IAzureEnvironment, ByRef mergedEnvironment As IAzureEnvironment) As Boolean

Parameters

environment
IAzureEnvironment
mergedEnvironment
IAzureEnvironment

Returns

Implements

Applies to