Share via


JobReleaseTask.RetentionTime Property

Definition

Gets or sets the duration of time for which files in the task's working directory are retained, from the time it completes execution. After this duration, the task's working directory is reclaimed.

public TimeSpan? RetentionTime { get; set; }
member this.RetentionTime : Nullable<TimeSpan> with get, set
Public Property RetentionTime As Nullable(Of TimeSpan)

Property Value

Remarks

The default is 7 days, i.e. the task directory will be retained for 7 days unless the compute node is removed or the job is deleted.

Applies to