Freigeben über


ProjectCollection.GetAllAsync(CancellationToken) Methode

Definition

Die Projektressource ist eine geschachtelte Ressource, die ein gespeichertes Migrationsprojekt darstellt. Diese Methode gibt eine Liste von Projekten zurück, die einer Dienstressource gehören.

  • Anforderungspfad/Abonnements/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects
  • Vorgangs-IdProjects_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataMigration.ProjectResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.ProjectResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.ProjectResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ProjectResource)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ProjectResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: