Partager via


VersionControlServer.MaxResults Property

Gets or sets the maximum number of Get operation results that the server may return from a single call.

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

Syntax

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

Property Value

Type: System.Int32
The maximum number of Get operation results that the server may return from a single call.

Remarks

This avoids a situation in which a client runs out of memory. It also avoids a run-time time-out on the server when it streams a large result set back to the client.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace