你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DataShareExtensions.RejectConsumerInvitation 方法

定义

拒绝邀请

  • 请求路径/providers/Microsoft.DataShare/locations/{location}/rejectInvitation
  • 操作IdConsumerInvitations_RejectInvitation
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)

参数

tenantResource
TenantResource

方法 TenantResource 将对其执行的实例。

location
AzureLocation

邀请的位置。

data
DataShareConsumerInvitationData

邀请有效负载。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

data 为 null。

适用于