共用方式為


SqlMigrationServiceCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieve all SQL migration services in the resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SqlMigrationServiceResource that may take multiple service requests to iterate over.

Applies to