Repository5.CheckInShelveset 方法

签入提交到现有搁置集。 在签入完成,工作项与变更集将关联或解析。

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

语法

声明
<WebMethodAttribute> _
Public Function CheckInShelveset ( _
    shelvesetName As String, _
    ownerName As String, _
    changesetOwner As String, _
    checkinNotificationInfo As CheckinNotificationInfo, _
    checkinOptions As Integer, _
    maxClientPathLength As Integer, _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure) _
) As CheckinResult
[WebMethodAttribute]
public CheckinResult CheckInShelveset(
    string shelvesetName,
    string ownerName,
    string changesetOwner,
    CheckinNotificationInfo checkinNotificationInfo,
    int checkinOptions,
    int maxClientPathLength,
    out StreamingCollection<Failure> conflicts,
    out StreamingCollection<Failure> failures
)

参数

  • shelvesetName
    类型:System.String
    提交的搁置集的名称。
  • checkinOptions
    类型:System.Int32
    控件进行验证的选项。
  • maxClientPathLength
    类型:System.Int32
    最大客户端支持服务器路径长度。

返回值

类型:Microsoft.TeamFoundation.VersionControl.Server.CheckinResult
与变更集创建和删除了更改的签入结果。

.NET Framework 安全性

请参阅

参考

Repository5 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间