Freigeben über


SqlServerJobExecutionStepTargetCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets/{targetId}
  • Vorgang IdJobTargetExecutions_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>> GetIfExistsAsync (Guid targetId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>>
override this.GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>>
Public Overridable Function GetIfExistsAsync (targetId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SqlServerJobExecutionStepTargetResource))

Parameter

targetId
Guid

Die Ziel-ID.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: