Share via


VersionControlServer.CheckInShelveset 方法 (String, String)

提交现有 Shelveset 提供注册到储存库中。

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

语法

声明
Public Function CheckInShelveset ( _
    shelvesetName As String, _
    ownerName As String _
) As Integer
public int CheckInShelveset(
    string shelvesetName,
    string ownerName
)

参数

  • shelvesetName
    类型:System.String
    提交的搁置集的名称。

返回值

类型:System.Int32
创建的变更集 ID,如果成功。

备注

在检查完成,工作项与变更集将关联或解析。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

CheckInShelveset 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间