次の方法で共有


DataShareExtensions.RejectConsumerInvitation メソッド

定義

招待を拒否する

  • 要求パス/プロバイダー/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 です。

適用対象