Udostępnij za pośrednictwem


AzureContextExtensions.HasAccount Method

Definition

Overloads

HasAccount(IAzureContextContainer, String)
HasAccount(IAzureContextContainer, String)

HasAccount(IAzureContextContainer, String)

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

Parameters

account
String

Returns

Applies to

HasAccount(IAzureContextContainer, String)

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

Parameters

account
String

Returns

Applies to