Dela via


SqlMigrationServiceResource.GetMigrations(CancellationToken) Method

Definition

Retrieve the List of database migrations attached to the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations
  • Operation Id: SqlMigrationServices_listMigrations
public virtual Azure.Pageable<Azure.ResourceManager.DataMigration.Models.DatabaseMigration> GetMigrations (System.Threading.CancellationToken cancellationToken = default);
abstract member GetMigrations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.Models.DatabaseMigration>
override this.GetMigrations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.Models.DatabaseMigration>
Public Overridable Function GetMigrations (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DatabaseMigration)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DatabaseMigration that may take multiple service requests to iterate over.

Applies to