LatestItemVersionUri 构造函数 (TeamFoundationServer, Int32)
注意:此 API 现在已废弃不用。
构造给定的已进行版本管理的项 URI 对象 Team Foundation Server URL、服务器路径、变更集和删除 ID.
命名空间: Microsoft.TeamFoundation.VersionControl.Common
程序集: Microsoft.TeamFoundation.VersionControl.Common.Integration(在 Microsoft.TeamFoundation.VersionControl.Common.Integration.dll 中)
语法
声明
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")> _
Public Sub New ( _
teamFoundationServer As TeamFoundationServer, _
itemId As Integer _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public LatestItemVersionUri(
TeamFoundationServer teamFoundationServer,
int itemId
)
参数
- teamFoundationServer
类型:Microsoft.TeamFoundation.Client.TeamFoundationServer
Team Foundation Server 对象
- itemId
类型:System.Int32
项 ID 与项目
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。