Partager via


VersionControlServer.MaxBackgroundThreads Property

Gets or sets the maximum number of background threads that will be used for file uploads and downloads.

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

Syntax

'Declaration
Public Shared Property MaxBackgroundThreads As Integer
public static int MaxBackgroundThreads { get; set; }
public:
static property int MaxBackgroundThreads {
    int get ();
    void set (int value);
}
static member MaxBackgroundThreads : int with get, set
static function get MaxBackgroundThreads () : int 
static function set MaxBackgroundThreads (value : int)

Property Value

Type: System.Int32
The maximum number of background threads that will be used for file uploads and downloads.

Remarks

If 0 is used, all uploads, downloads, and adds will be performed on the foreground thread.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace