AzureAccountExtensions.SetSubscriptions Method
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.
C#
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
Azure - PowerShell Commands Latest และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
Azure - PowerShell Commands | 12 (LTS), Latest |
Azure RM - PowerShell Commands | Latest |
C#
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
Azure - PowerShell Commands Latest และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
Azure - PowerShell Commands | 12 (LTS), Latest |
Azure RM - PowerShell Commands | Latest |