SqlMigrationServiceResource.GetMigrations(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.