Compartir a través de


DataShareExtensions.ActivateEmailAsync Método

Definición

Activación del registro de correo electrónico para el inquilino actual

  • Ruta de acceso de solicitud/providers/Microsoft.DataShare/locations/{location}/activateEmail
  • IdEmailRegistrations_ActivateEmail de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration>> ActivateEmailAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration emailRegistration, System.Threading.CancellationToken cancellationToken = default);
static member ActivateEmailAsync : Azure.ResourceManager.Resources.TenantResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration>>
<Extension()>
Public Function ActivateEmailAsync (tenantResource As TenantResource, location As AzureLocation, emailRegistration As DataShareEmailRegistration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareEmailRegistration))

Parámetros

tenantResource
TenantResource

Instancia TenantResource en la que se ejecutará el método.

location
AzureLocation

Ubicación de la activación.

emailRegistration
DataShareEmailRegistration

Carga útil para la activación del dominio de inquilino.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

emailRegistration es null.

Se aplica a