Freigeben über


AgentSettings.MaxExecutionTime Property

Gets a TimeSpan object describing the maximum amount of time to allow the build agent to complete its activities.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property MaxExecutionTime As TimeSpan
    Get
    Set
[BrowsableAttribute(true)]
public TimeSpan MaxExecutionTime { get; set; }
[BrowsableAttribute(true)]
public:
property TimeSpan MaxExecutionTime {
    TimeSpan get ();
    void set (TimeSpan value);
}
[<BrowsableAttribute(true)>]
member MaxExecutionTime : TimeSpan with get, set
function get MaxExecutionTime () : TimeSpan
function set MaxExecutionTime (value : TimeSpan)

Property Value

Type: System.TimeSpan
A TimeSpan object describing the maximum amount of time to allow the build agent to complete its activities.

.NET Framework Security

See Also

Reference

AgentSettings Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace