共用方式為


AzureSubscriptionExtensions.SetHomeTenant(IAzureSubscription, String) Method

Definition

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

Parameters

subscription
IAzureSubscription
tenant
String

Applies to