IBuildAgent.MaxProcesses Property

Note: This API is now obsolete.

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

声明
<ObsoleteAttribute("This property has been deprecated. Please remove all references.",  _
    True)> _
Property MaxProcesses As Integer
    Get
    Set
[ObsoleteAttribute("This property has been deprecated. Please remove all references.", 
    true)]
int MaxProcesses { get; set; }
[ObsoleteAttribute(L"This property has been deprecated. Please remove all references.", 
    true)]
property int MaxProcesses {
    int get ();
    void set (int value);
}
[<ObsoleteAttribute("This property has been deprecated. Please remove all references.", 
    true)>]
abstract MaxProcesses : int with get, set
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

Microsoft.TeamFoundation.Build.Client Namespace