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
提交的搁置集的名称。
- ownerName
类型:System.String
搁置集的所有者。
- changesetOwner
类型:System.String
变更集的作者。
- checkinNotificationInfo
类型:Microsoft.TeamFoundation.VersionControl.Server.CheckinNotificationInfo
信息签入通知服务需要。
- checkinOptions
类型:System.Int32
控件进行验证的选项。
- maxClientPathLength
类型:System.Int32
最大客户端支持服务器路径长度。
- conflicts
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%
发生,当尝试对签入时的冲突列表。
- failures
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%
生成,当尝试对签入时错误和警告的列表。
返回值
类型:Microsoft.TeamFoundation.VersionControl.Server.CheckinResult
与变更集创建和删除了更改的签入结果。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。