SqlServerJobAgentCollection.GetAsync(String, CancellationToken) メソッド

定義

ジョブ エージェントを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}
  • 操作IdJobAgents_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerJobAgentResource>> GetAsync (string jobAgentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerJobAgentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerJobAgentResource>>
Public Overridable Function GetAsync (jobAgentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlServerJobAgentResource))

パラメーター

jobAgentName
String

取得するジョブ エージェントの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

jobAgentName は空の文字列であり、空でないと想定されていました。

jobAgentName が null です。

適用対象