Partilhar via


IProfileOperations.TryGetContextName(IAzureContext, String) Method

Definition

public bool TryGetContextName (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, out string name);
abstract member TryGetContextName : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * string -> bool
Public Function TryGetContextName (context As IAzureContext, ByRef name As String) As Boolean

Parameters

context
IAzureContext
name
String

Returns

Applies to