Repository4.CompareLabels 方法

返回有关变更集信息分为两个标签内的项。 涉及该指定项目的 maxCount 最新的变更集将返回。

命名空间:  Microsoft.TeamFoundation.VersionControl.Server
程序集:  Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

语法

声明
<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
)

参数

  • startLabelName
    类型:System.String
    开始范围的标签的名称。
  • startLabelScope
    类型:System.String
    开始范围的标签的范围。
  • endLabelName
    类型:System.String
    结束范围的标签的名称。
  • endLabelScope
    类型:System.String
    结束范围的标签的范围。
  • minChangeSet
    类型:System.Int32
    返回的最旧的变更集。所有 == 0。
  • maxCount
    类型:System.Int32
    返回的变更集的最大数目。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Changeset>
数组变更集,最早第一个。

.NET Framework 安全性

请参阅

参考

Repository4 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间