IBuildAgent.MaxProcesses Property

Gets or sets the maximum number of processes to use for the build agent.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Property MaxProcesses As Integer
'Usage
Dim instance As IBuildAgent 
Dim value As Integer 

value = instance.MaxProcesses

instance.MaxProcesses = value
int MaxProcesses { get; set; }
property int MaxProcesses {
    int get ();
    void set (int value);
}
function get MaxProcesses () : int 
function set MaxProcesses (value : int)

Property Value

Type: System.Int32

Remarks

This property is passed to the MSBuild.exe method by using the /maxcpucount option. For more information, see MSBuild Command Line Reference.

.NET Framework Security

See Also

Reference

IBuildAgent Interface

IBuildAgent Members

Microsoft.TeamFoundation.Build.Client Namespace