Partager via


DataShareExtensions.GetDataShareConsumerInvitationAsync Méthode

Définition

Obtenir une invitation

  • Chemin/providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}
  • IdConsumerInvitations_Get d’opération
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))

Paramètres

tenantResource
TenantResource

Instance TenantResource sur laquelle la méthode s’exécute.

location
AzureLocation

Emplacement de l’invitation.

invitationId
Guid

ID d’invitation.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à