DataShareExtensions.ActivateEmail Método

Definição

Ativar o registro de email para o locatário atual

  • Caminho da Solicitação/provedores/Microsoft.DataShare/locations/{location}/activateEmail
  • Operação 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)

Parâmetros

tenantResource
TenantResource

A TenantResource instância em que o método será executado.

location
AzureLocation

Local da ativação.

emailRegistration
DataShareEmailRegistration

A carga para ativação do domínio do locatário.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

emailRegistration é nulo.

Aplica-se a