ProjectContext Constructor (TeamFoundationServer, String, String)

Note: This API is now obsolete.

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'宣言
<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
)
[ObsoleteAttribute(L"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
)
[<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")>]
new : 
        tfs:TeamFoundationServer * 
        projectName:string * 
        projectUri:string -> ProjectContext
public function ProjectContext(
    tfs : TeamFoundationServer, 
    projectName : String, 
    projectUri : String
)

Parameters

.NET Framework Security

See Also

Reference

ProjectContext Class

ProjectContext Overload

Microsoft.VisualStudio.TeamFoundation Namespace