注意:此 API 现在已过时。
排队更新中的指定项。
命名空间: Microsoft.TeamFoundation.VersionControl.Client
程序集: Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)
语法
声明
<ObsoleteAttribute("Queuing local version updates solely by item ID is deprecated. Please use another overload of QueueUpdate.")> _
Public Sub QueueUpdate ( _
itemId As Integer, _
targetLocalItem As String, _
localVersion As Integer _
)
[ObsoleteAttribute("Queuing local version updates solely by item ID is deprecated. Please use another overload of QueueUpdate.")]
public void QueueUpdate(
int itemId,
string targetLocalItem,
int localVersion
)
参数
- itemId
类型:System.Int32
项的 ID 要更新的。
- targetLocalItem
类型:System.String
本地路径。如果工作区域不包含项目,则为 null。
- localVersion
类型:System.Int32
本地项目的变更集版本。如果工作区域不包含项目,它是 0。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。