VersionControlIntegrationUri 构造函数 (TeamFoundationServer, ArtifactType, String)
注意:此 API 现在已过时。
构造给定的VersionControlIntegrationUri对象TeamFoundationServer对象、类型和项目名称
命名空间: 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, _
artifactType As ArtifactType, _
artifactName As String _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public VersionControlIntegrationUri(
TeamFoundationServer teamFoundationServer,
ArtifactType artifactType,
string artifactName
)
参数
- teamFoundationServer
类型:Microsoft.TeamFoundation.Client.TeamFoundationServer
有效的TeamFoundationServer对象
- artifactType
类型:Microsoft.TeamFoundation.VersionControl.Common.ArtifactType
创建的项目的类型
- artifactName
类型:System.String
项目的名称
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
VersionControlIntegrationUri 类