Partager via


SqlServerJobExecutionCollection.ExistsAsync(Guid, CancellationToken) Méthode

Définition

Vérifie si la ressource existe dans Azure.

  • 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<bool>> ExistsAsync (Guid jobExecutionId, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (jobExecutionId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Paramètres

jobExecutionId
Guid

ID de l’exécution du travail.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à