共用方式為


JobExecutionInformation.PoolId Property

Definition

Gets or sets the ID of the Pool to which this Job is assigned.

[Newtonsoft.Json.JsonProperty(PropertyName="poolId")]
public string PoolId { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="poolId")>]
member this.PoolId : string with get, set
Public Property PoolId As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This element contains the actual Pool where the Job is assigned. When you get Job details from the service, they also contain a poolInfo element, which contains the Pool configuration data from when the Job was added or updated. That poolInfo element may also contain a poolId element. If it does, the two IDs are the same. If it does not, it means the Job ran on an auto Pool, and this property contains the ID of that auto Pool.

Applies to