Compartir a través de


AzureContextExtensions.HasSubscriptionId Method

Definition

Overloads

HasSubscriptionId(IAzureContextContainer, Guid)
HasSubscriptionId(IAzureContextContainer, String)
HasSubscriptionId(IAzureContextContainer, Guid)
HasSubscriptionId(IAzureContextContainer, String)

HasSubscriptionId(IAzureContextContainer, Guid)

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

Parameters

id
Guid

Returns

Applies to

HasSubscriptionId(IAzureContextContainer, String)

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

Parameters

id
String

Returns

Applies to

HasSubscriptionId(IAzureContextContainer, Guid)

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

Parameters

id
Guid

Returns

Applies to

HasSubscriptionId(IAzureContextContainer, String)

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

Parameters

id
String

Returns

Applies to