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

AzureContextModificationCmdlet.GetDefaultProfile Method

Definition

Get the default profile for the current cmdlet invocation

protected virtual Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations GetDefaultProfile ();
override this.GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
abstract member GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
override this.GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
Protected Overridable Function GetDefaultProfile () As IProfileOperations

Returns

The default profile, whether it is a process-specific profile, ot a profile for the current user

Applies to