Delen via


TeamFoundationVersionControlService.QueryChangesForChangeset Method (TeamFoundationRequestContext, Int32, Boolean, Int32, ItemSpec, array<String , Boolean)

Queries changes throughout a given changeset (can be paged or non-paged).

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

Syntax

'Declaration
Public Function QueryChangesForChangeset ( _
    requestContext As TeamFoundationRequestContext, _
    changesetId As Integer, _
    generateDownloadUrls As Boolean, _
    pageSize As Integer, _
    lastItem As ItemSpec, _
    itemAttributeFilters As String(), _
    includeMergeSourceInfo As Boolean _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryChangesForChangeset(
    TeamFoundationRequestContext requestContext,
    int changesetId,
    bool generateDownloadUrls,
    int pageSize,
    ItemSpec lastItem,
    string[] itemAttributeFilters,
    bool includeMergeSourceInfo
)
public:
TeamFoundationDataReader^ QueryChangesForChangeset(
    TeamFoundationRequestContext^ requestContext, 
    int changesetId, 
    bool generateDownloadUrls, 
    int pageSize, 
    ItemSpec^ lastItem, 
    array<String^>^ itemAttributeFilters, 
    bool includeMergeSourceInfo
)
member QueryChangesForChangeset : 
        requestContext:TeamFoundationRequestContext * 
        changesetId:int * 
        generateDownloadUrls:bool * 
        pageSize:int * 
        lastItem:ItemSpec * 
        itemAttributeFilters:string[] * 
        includeMergeSourceInfo:bool -> TeamFoundationDataReader
public function QueryChangesForChangeset(
    requestContext : TeamFoundationRequestContext, 
    changesetId : int, 
    generateDownloadUrls : boolean, 
    pageSize : int, 
    lastItem : ItemSpec, 
    itemAttributeFilters : String[], 
    includeMergeSourceInfo : boolean
) : TeamFoundationDataReader

Parameters

  • changesetId
    Type: System.Int32

    The changeset for which to obtain changes.

  • 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).

  • pageSize
    Type: System.Int32

    The number of changes to return.

  • includeMergeSourceInfo
    Type: System.Boolean

    Whether to include merge source information in the change object.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: Change[] - List of changes in the changeset.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

QueryChangesForChangeset Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace