Dela via


AzureContextExtensions.HasEnvironment Method

Definition

Overloads

HasEnvironment(IAzureContextContainer, String)
HasEnvironment(IAzureContextContainer, String)

HasEnvironment(IAzureContextContainer, String)

public static bool HasEnvironment (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer container, string name);
static member HasEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer * string -> bool
<Extension()>
Public Function HasEnvironment (container As IAzureContextContainer, name As String) As Boolean

Parameters

name
String

Returns

Applies to

HasEnvironment(IAzureContextContainer, String)

public static bool HasEnvironment (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer container, string name);
static member HasEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer * string -> bool
<Extension()>
Public Function HasEnvironment (container As IAzureContextContainer, name As String) As Boolean

Parameters

name
String

Returns

Applies to