Partager via


DataShareExtensions.RejectConsumerInvitation Méthode

Définition

Rejeter une invitation

  • Chemin/providers/Microsoft.DataShare/locations/{location}/rejectInvitation
  • IdConsumerInvitations_RejectInvitation d’opération
public static Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource> RejectConsumerInvitation (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataShare.DataShareConsumerInvitationData data, System.Threading.CancellationToken cancellationToken = default);
static member RejectConsumerInvitation : Azure.ResourceManager.Resources.TenantResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.DataShareConsumerInvitationData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>
<Extension()>
Public Function RejectConsumerInvitation (tenantResource As TenantResource, location As AzureLocation, data As DataShareConsumerInvitationData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataShareConsumerInvitationResource)

Paramètres

tenantResource
TenantResource

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

location
AzureLocation

Emplacement de l’invitation.

data
DataShareConsumerInvitationData

Charge utile d’invitation.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à