Freigeben über


ServiceProjectTaskResource.Command Methode

Definition

Die Aufgabenressource ist eine geschachtelte, reine Proxyressource, die von einer DMS-instance ausgeführte Arbeit darstellt. Diese Methode führt einen Befehl für einen ausgeführten Task aus.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command
  • Vorgang IdTasks_Command
public virtual Azure.Response<Azure.ResourceManager.DataMigration.Models.CommandProperties> Command (Azure.ResourceManager.DataMigration.Models.CommandProperties commandProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member Command : Azure.ResourceManager.DataMigration.Models.CommandProperties * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataMigration.Models.CommandProperties>
override this.Command : Azure.ResourceManager.DataMigration.Models.CommandProperties * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataMigration.Models.CommandProperties>
Public Overridable Function Command (commandProperties As CommandProperties, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommandProperties)

Parameter

commandProperties
CommandProperties

Auszuführender Befehl

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

commandProperties ist NULL.

Gilt für: