Share via


SqlServerJobVersionCollection.GetIfExists(Int32, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}
  • Operation Id: JobVersions_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobVersionResource
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)

Parameters

jobVersion
Int32

The version of the job to get.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to