Delen via


TeamFoundationVersionControlService.QueryChangeset Method

Retrieves the details (comment, changes, etc.) for a changeset.

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

Syntax

'Declaration
Public Function QueryChangeset ( _
    requestContext As TeamFoundationRequestContext, _
    changesetId As Integer, _
    includeChanges As Boolean, _
    generateDownloadUrls As Boolean, _
    includeSourceRenames As Boolean _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryChangeset(
    TeamFoundationRequestContext requestContext,
    int changesetId,
    bool includeChanges,
    bool generateDownloadUrls,
    bool includeSourceRenames
)
public:
TeamFoundationDataReader^ QueryChangeset(
    TeamFoundationRequestContext^ requestContext, 
    int changesetId, 
    bool includeChanges, 
    bool generateDownloadUrls, 
    bool includeSourceRenames
)
member QueryChangeset : 
        requestContext:TeamFoundationRequestContext * 
        changesetId:int * 
        includeChanges:bool * 
        generateDownloadUrls:bool * 
        includeSourceRenames:bool -> TeamFoundationDataReader
public function QueryChangeset(
    requestContext : TeamFoundationRequestContext, 
    changesetId : int, 
    includeChanges : boolean, 
    generateDownloadUrls : boolean, 
    includeSourceRenames : boolean
) : TeamFoundationDataReader

Parameters

  • changesetId
    Type: System.Int32

    The numeric ID for the changeset being researched.

  • includeChanges
    Type: System.Boolean

    If true, the server will include the changes in the changeset; otherwise, only the metadata will be returned.

  • generateDownloadUrls
    Type: System.Boolean

    If true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files that use the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it).

  • includeSourceRenames
    Type: System.Boolean

    Whether to include source renames.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: Changeset - A reference to a changeset object specifying these details.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace