次の方法で共有


RMProfileClient.TryGetSubscriptionById Method

Definition

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

Returns

Applies to