共用方式為


DomainsOperationsExtensions.GetAsync Method

Definition

Gets a specific domain in the current tenant.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DomainInner> GetAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IDomainsOperations operations, string domainName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IDomainsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DomainInner>
<Extension()>
Public Function GetAsync (operations As IDomainsOperations, domainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DomainInner)

Parameters

operations
IDomainsOperations

The operations group for this extension method.

domainName
String

name of the domain.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to