Sdílet prostřednictvím


EmailRegistrationsOperationsExtensions.ActivateEmailAsync Method

Definition

Activates the tenant and email combination using email code received.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.EmailRegistration> ActivateEmailAsync (this Microsoft.Azure.Management.DataShare.IEmailRegistrationsOperations operations, string location, Microsoft.Azure.Management.DataShare.Models.EmailRegistration emailRegistration, System.Threading.CancellationToken cancellationToken = default);
static member ActivateEmailAsync : Microsoft.Azure.Management.DataShare.IEmailRegistrationsOperations * string * Microsoft.Azure.Management.DataShare.Models.EmailRegistration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.EmailRegistration>
<Extension()>
Public Function ActivateEmailAsync (operations As IEmailRegistrationsOperations, location As String, emailRegistration As EmailRegistration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EmailRegistration)

Parameters

operations
IEmailRegistrationsOperations

The operations group for this extension method.

location
String

Location of the activation.

emailRegistration
EmailRegistration

The payload for tenant domain activation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Activate the email registration for the current tenant

Applies to