共用方式為


AzureRmProfileProvider.SetInstance Method

Definition

Overloads

SetInstance(Func<AzureRmProfileProvider>)
SetInstance(Func<AzureRmProfileProvider>, Boolean)

SetInstance(Func<AzureRmProfileProvider>)

public static void SetInstance (Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureRmProfileProvider> provider);
static member SetInstance : Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureRmProfileProvider> -> unit
Public Shared Sub SetInstance (provider As Func(Of AzureRmProfileProvider))

Parameters

Applies to

SetInstance(Func<AzureRmProfileProvider>, Boolean)

public static void SetInstance (Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureRmProfileProvider> provider, bool overwrite);
static member SetInstance : Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureRmProfileProvider> * bool -> unit
Public Shared Sub SetInstance (provider As Func(Of AzureRmProfileProvider), overwrite As Boolean)

Parameters

overwrite
Boolean

Applies to