你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureAccountExtensions.SetSubscriptions Method

Definition

Overloads

SetSubscriptions(IAzureAccount, List<IAzureSubscription>)
SetSubscriptions(IAzureAccount, String[])

SetSubscriptions(IAzureAccount, List<IAzureSubscription>)

public static void SetSubscriptions (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, System.Collections.Generic.List<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription> subscriptions);
static member SetSubscriptions : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * System.Collections.Generic.List<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription> -> unit
<Extension()>
Public Sub SetSubscriptions (account As IAzureAccount, subscriptions As List(Of IAzureSubscription))

Parameters

account
IAzureAccount
subscriptions
List<IAzureSubscription>

Applies to

SetSubscriptions(IAzureAccount, String[])

public static void SetSubscriptions (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, params string[] subscriptions);
static member SetSubscriptions : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * string[] -> unit
<Extension()>
Public Sub SetSubscriptions (account As IAzureAccount, ParamArray subscriptions As String())

Parameters

account
IAzureAccount
subscriptions
String[]

Applies to