Compartilhar via


SqlServerJobVersionCollection.GetIfExists(Int32, CancellationToken) Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}
  • IdJobVersions_Get de operação
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobVersionResource> GetIfExists (int jobVersion, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : int * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobVersionResource>
override this.GetIfExists : int * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobVersionResource>
Public Overridable Function GetIfExists (jobVersion As Integer, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SqlServerJobVersionResource)

Parâmetros

jobVersion
Int32

A versão do trabalho a ser obtido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a