共用方式為


JobAddParameter.CommonEnvironmentSettings Property

Definition

Gets or sets the list of common environment variable settings. These environment variables are set for all Tasks in the Job (including the Job Manager, Job Preparation and Job Release Tasks).

[Newtonsoft.Json.JsonProperty(PropertyName="commonEnvironmentSettings")]
public System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.EnvironmentSetting> CommonEnvironmentSettings { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="commonEnvironmentSettings")>]
member this.CommonEnvironmentSettings : System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.EnvironmentSetting> with get, set
Public Property CommonEnvironmentSettings As IList(Of EnvironmentSetting)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

Individual Tasks can override an environment setting specified here by specifying the same setting name with a different value.

Applies to