VersionedItemUri 构造函数 (String, String, Int32, Int32, UriType)
构造给定的已进行版本管理的项URI对象 Team Foundation Server URL、服务器路径、变更集和删除ID.
命名空间: Microsoft.TeamFoundation.VersionControl.Common
程序集: Microsoft.TeamFoundation.VersionControl.Common.Integration(在 Microsoft.TeamFoundation.VersionControl.Common.Integration.dll 中)
语法
声明
Public Sub New ( _
teamFoundationServerUrl As String, _
serverItem As String, _
changeset As Integer, _
deletionId As Integer, _
type As UriType _
)
public VersionedItemUri(
string teamFoundationServerUrl,
string serverItem,
int changeset,
int deletionId,
UriType type
)
参数
- teamFoundationServerUrl
类型:System.String
Team Foundation server的URL
- serverItem
类型:System.String
项目的服务器路径
- changeset
类型:System.Int32
项目应构造的变更集
- deletionId
类型:System.Int32
对象删除ID。
- type
类型:Microsoft.TeamFoundation.VersionControl.Common.UriType
指示是否应创建“Web视图URI。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。