Delen via


TeamFoundationVersionControlService.CompareLabels Method

Returns changeset information between two labels. The maxCount newest changesets will be returned that involve the specified item in the labels.

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

Syntax

'Declaration
Public Function CompareLabels ( _
    requestContext As TeamFoundationRequestContext, _
    startLabelName As String, _
    startLabelScope As String, _
    endLabelName As String, _
    endLabelScope As String, _
    minChangeSet As Integer, _
    maxCount As Integer, _
    includeItems As Boolean _
) As TeamFoundationDataReader
public TeamFoundationDataReader CompareLabels(
    TeamFoundationRequestContext requestContext,
    string startLabelName,
    string startLabelScope,
    string endLabelName,
    string endLabelScope,
    int minChangeSet,
    int maxCount,
    bool includeItems
)
public:
TeamFoundationDataReader^ CompareLabels(
    TeamFoundationRequestContext^ requestContext, 
    String^ startLabelName, 
    String^ startLabelScope, 
    String^ endLabelName, 
    String^ endLabelScope, 
    int minChangeSet, 
    int maxCount, 
    bool includeItems
)
member CompareLabels : 
        requestContext:TeamFoundationRequestContext * 
        startLabelName:string * 
        startLabelScope:string * 
        endLabelName:string * 
        endLabelScope:string * 
        minChangeSet:int * 
        maxCount:int * 
        includeItems:bool -> TeamFoundationDataReader
public function CompareLabels(
    requestContext : TeamFoundationRequestContext, 
    startLabelName : String, 
    startLabelScope : String, 
    endLabelName : String, 
    endLabelScope : String, 
    minChangeSet : int, 
    maxCount : int, 
    includeItems : boolean
) : TeamFoundationDataReader

Parameters

  • startLabelName
    Type: System.String

    Name of the label starting the range.

  • startLabelScope
    Type: System.String

    Scope of the label starting the range.

  • endLabelName
    Type: System.String

    Name of the label ending the range.

  • endLabelScope
    Type: System.String

    Scope of the label ending the range.

  • minChangeSet
    Type: System.Int32

    Minimum changeset. 0 == all.

  • maxCount
    Type: System.Int32

    Maximum number of changesets to return.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: Changeset[] - Array of Changesets, newest first.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace