Partager via


SqlServerJobExecutionCollection.GetAsync(Guid, CancellationToken) Méthode

Définition

Obtient une exécution de travail.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}
  • IdJobExecutions_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerJobExecutionResource>> GetAsync (Guid jobExecutionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerJobExecutionResource>>
override this.GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerJobExecutionResource>>
Public Overridable Function GetAsync (jobExecutionId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlServerJobExecutionResource))

Paramètres

jobExecutionId
Guid

ID de l’exécution du travail.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à