PSAzureContext.Tenant Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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