Delen via


IProfileOperations.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
Public Function TrySetEnvironment (environment As IAzureEnvironment, ByRef mergedEnvironment As IAzureEnvironment) As Boolean

Parameters

environment
IAzureEnvironment
mergedEnvironment
IAzureEnvironment

Returns

Applies to