Partager via


SqlServerJobVersionCollection.GetAsync(Int32, CancellationToken) Méthode

Définition

Obtient une version de travail.

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

Paramètres

jobVersion
Int32

Version du travail à obtenir.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à