ProjectContext 构造函数 (TeamFoundationServer, String, String)
注意:此 API 现在已废弃不用。
命名空间: Microsoft.VisualStudio.TeamFoundation
程序集: Microsoft.VisualStudio.TeamFoundation(在 Microsoft.VisualStudio.TeamFoundation.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 ( _
tfs As TeamFoundationServer, _
projectName As String, _
projectUri 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 ProjectContext(
TeamFoundationServer tfs,
string projectName,
string projectUri
)
参数
- projectName
类型:System.String
- projectUri
类型:System.String
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。