Partilhar via


DataShareExtensions.GetDataShareConsumerInvitationAsync Método

Definição

Obter um convite

  • Caminho da Solicitação/provedores/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}
  • Operação IdConsumerInvitations_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>> GetDataShareConsumerInvitationAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.Core.AzureLocation location, Guid invitationId, System.Threading.CancellationToken cancellationToken = default);
static member GetDataShareConsumerInvitationAsync : Azure.ResourceManager.Resources.TenantResource * Azure.Core.AzureLocation * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>>
<Extension()>
Public Function GetDataShareConsumerInvitationAsync (tenantResource As TenantResource, location As AzureLocation, invitationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareConsumerInvitationResource))

Parâmetros

tenantResource
TenantResource

A TenantResource instância em que o método será executado.

location
AzureLocation

Local do convite.

invitationId
Guid

Uma ID de convite.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a