Repository4.CompareLabels Method
Returns changeset information about an items between two labels. The maxCount newest changesets will be returned that involve the specified item.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function CompareLabels ( _
startLabelName As String, _
startLabelScope As String, _
endLabelName As String, _
endLabelScope As String, _
minChangeSet As Integer, _
maxCount As Integer _
) As StreamingCollection(Of Changeset)
[WebMethodAttribute]
public StreamingCollection<Changeset> CompareLabels(
string startLabelName,
string startLabelScope,
string endLabelName,
string endLabelScope,
int minChangeSet,
int maxCount
)
[WebMethodAttribute]
public:
StreamingCollection<Changeset^>^ CompareLabels(
String^ startLabelName,
String^ startLabelScope,
String^ endLabelName,
String^ endLabelScope,
int minChangeSet,
int maxCount
)
[<WebMethodAttribute>]
member CompareLabels :
startLabelName:string *
startLabelScope:string *
endLabelName:string *
endLabelScope:string *
minChangeSet:int *
maxCount:int -> StreamingCollection<Changeset>
public function CompareLabels(
startLabelName : String,
startLabelScope : String,
endLabelName : String,
endLabelScope : String,
minChangeSet : int,
maxCount : int
) : StreamingCollection<Changeset>
Parameters
startLabelName
Type: System.StringName of the label starting the range.
startLabelScope
Type: System.StringScope of the label starting the range.
endLabelName
Type: System.StringName of the label ending the range.
endLabelScope
Type: System.StringScope of the label ending the range.
minChangeSet
Type: System.Int32Oldest changeset to return. 0 == all.
maxCount
Type: System.Int32Maximum number of changesets to return.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Changeset>
Array of Changesets, oldest first.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.