RMProfileClient.TryGetSubscriptionById 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
TryGetSubscriptionById(String, String) | |
TryGetSubscriptionById(String, String, IAzureSubscription) |
TryGetSubscriptionById(String, String)
public System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription> TryGetSubscriptionById (string tenantId, string subscriptionId);
member this.TryGetSubscriptionById : string * string -> seq<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription>
Public Function TryGetSubscriptionById (tenantId As String, subscriptionId As String) As IEnumerable(Of IAzureSubscription)
Parameters
- tenantId
- String
- subscriptionId
- String
Returns
Applies to
TryGetSubscriptionById(String, String, IAzureSubscription)
public bool TryGetSubscriptionById (string tenantId, string subscriptionId, out Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription subscription);
member this.TryGetSubscriptionById : string * string * IAzureSubscription -> bool
Public Function TryGetSubscriptionById (tenantId As String, subscriptionId As String, ByRef subscription As IAzureSubscription) As Boolean
Parameters
- tenantId
- String
- subscriptionId
- String
- subscription
- IAzureSubscription