Repository4.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, _
    <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,
    out StreamingCollection<Failure> conflicts,
    out StreamingCollection<Failure> failures
)

参数

  • shelvesetName
    类型:System.String
    提交的搁置集的名称。
  • checkinOptions
    类型:System.Int32
    若要控制验证选项。

返回值

类型:Microsoft.TeamFoundation.VersionControl.Server.CheckinResult
与创建变更集签入结果并撤消所做的更改。

.NET Framework 安全性

请参见

参考

Repository4 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间