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
提交的搁置集的名称。
- ownerName
类型:System.String
搁置集的所有者。
- changesetOwner
类型:System.String
变更集的作者。
- checkinNotificationInfo
类型:Microsoft.TeamFoundation.VersionControl.Server.CheckinNotificationInfo
签入通知服务所需的信息。
- checkinOptions
类型:System.Int32
若要控制验证选项。
- conflicts
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%
冲突发生时试图签入该列表。
- failures
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%
错误和警告试图签入时出现的列表。
返回值
类型:Microsoft.TeamFoundation.VersionControl.Server.CheckinResult
与创建变更集签入结果并撤消所做的更改。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。