Compartilhar via


SqlServerJobExecutionCollection.GetAsync(Guid, CancellationToken) Método

Definição

Obtém uma execução de trabalho.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}
  • Operação IdJobExecutions_Get
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))

Parâmetros

jobExecutionId
Guid

A ID da execução do trabalho.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a