共用方式為


AzureSubscriptionExtensions.SetEnvironment(IAzureSubscription, String) Method

Definition

public static void SetEnvironment (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription subscription, string environment);
static member SetEnvironment : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription * string -> unit
<Extension()>
Public Sub SetEnvironment (subscription As IAzureSubscription, environment As String)

Parameters

subscription
IAzureSubscription
environment
String

Applies to