Returns the team project part of the build path. This method assumes that the path has been canonicalized already.
Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function GetTeamProject ( _
    buildPath As String _
) As String
public static string GetTeamProject(
    string buildPath
)
public:
static String^ GetTeamProject(
    String^ buildPath
)
static member GetTeamProject : 
        buildPath:string -> string
public static function GetTeamProject(
    buildPath : String
) : String
Parameters
- buildPath
 Type: System.String
Return Value
Type: System.String
The team project part of the query path.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.