Delen via


VersionControlPath.GetTeamProject Method

Returns the top level "team project" folder given a server item.

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

Syntax

'Declaration
Public Shared Function GetTeamProject ( _
    item As String _
) As String
public static string GetTeamProject(
    string item
)
public:
static String^ GetTeamProject(
    String^ item
)
static member GetTeamProject : 
        item:string -> string
public static function GetTeamProject(
    item : String
) : String

Parameters

Return Value

Type: System.String
The top level project from the version control specification.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace