Dela via


ServicesOperationsExtensions.StartAsync Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. This action starts the service and the service can be used for data migration.

public static System.Threading.Tasks.Task StartAsync (this Microsoft.Azure.Management.DataMigration.IServicesOperations operations, string groupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member StartAsync : Microsoft.Azure.Management.DataMigration.IServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StartAsync (operations As IServicesOperations, groupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IServicesOperations

The operations group for this extension method.

groupName
String

Name of the resource group

serviceName
String

Name of the service

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to