AzureRmProfile.TryGetContextName(IAzureContext, String) Method
Definition
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.
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
override this.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