你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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