Compartilhar via


SqlServerJobExecutionStepTargetCollection.GetIfExists 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}/executions/{jobExecutionId}/steps/{stepName}/targets/{targetId}
  • IdJobTargetExecutions_Get de operação
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource> GetIfExists (Guid targetId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Guid * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>
override this.GetIfExists : Guid * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>
Public Overridable Function GetIfExists (targetId As Guid, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SqlServerJobExecutionStepTargetResource)

Parâmetros

targetId
Guid

A ID de destino.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a