AzureContextExtensions.HasSubscriptionId 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.
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
- container
- IAzureContextContainer
- 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
- container
- IAzureContextContainer
- 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
- container
- IAzureContextContainer
- 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
- container
- IAzureContextContainer
- id
- String