Delen via


PSAzureContext.Tenant Property

Definition

The targeted tenant in Azure.

[Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(GroupByThis=true, Label="Tenant", ScriptBlock="if([System.String]::IsNullOrEmpty($_.Tenant.Name)){$_.Tenant.Id}else{"$($_.Tenant.Name) ($($_.Tenant.Id))"}", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)]
public Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTenant Tenant { get; set; }
[<Microsoft.WindowsAzure.Commands.Common.Attributes.Ps1Xml(GroupByThis=true, Label="Tenant", ScriptBlock="if([System.String]::IsNullOrEmpty($_.Tenant.Name)){$_.Tenant.Id}else{"$($_.Tenant.Name) ($($_.Tenant.Id))"}", Target=Microsoft.WindowsAzure.Commands.Common.Attributes.ViewControl.Table)>]
member this.Tenant : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTenant with get, set
Public Property Tenant As IAzureTenant

Property Value

Implements

Attributes

Applies to