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

DataShareExtensions.ActivateEmail 方法

定义

激活当前租户的电子邮件注册

  • Request Path/providers/Microsoft.DataShare/locations/{location}/activateEmail
  • 操作IdEmailRegistrations_ActivateEmail
public static Azure.Response<Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration> ActivateEmail (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration emailRegistration, System.Threading.CancellationToken cancellationToken = default);
static member ActivateEmail : Azure.ResourceManager.Resources.TenantResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration>
<Extension()>
Public Function ActivateEmail (tenantResource As TenantResource, location As AzureLocation, emailRegistration As DataShareEmailRegistration, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataShareEmailRegistration)

参数

tenantResource
TenantResource

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

location
AzureLocation

激活的位置。

emailRegistration
DataShareEmailRegistration

租户域激活的有效负载。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

emailRegistration 为 null。

适用于