Delen via


QueryHistoryParameters.IncludeDownloadInfo Property

This property applies only when IncludeChanges is set to true. Set this property to true to have the server generate download URLs and include them with the Change objects returned in each Changeset. This allows the client to download the file content associated with a particular Change object by using one round-trip to the server instead of two.

Setting this property to true increases the computation time on the server for the QueryHistory call, and also the size of the result set on the wire. For performance reasons, you should enable this flag only if you intend to download the content the returned Change objects.

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

Syntax

'Declaration
Public Property IncludeDownloadInfo As Boolean
public bool IncludeDownloadInfo { get; set; }
public:
property bool IncludeDownloadInfo {
    bool get ();
    void set (bool value);
}
member IncludeDownloadInfo : bool with get, set
function get IncludeDownloadInfo () : boolean 
function set IncludeDownloadInfo (value : boolean)

Property Value

Type: System.Boolean
True if the server generate download URLs and include them with the Change objects returned in each Changeset; otherwise, false.

.NET Framework Security

See Also

Reference

QueryHistoryParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace