Delen via


VersionControlPath.GetTeamProjectName Method

Returns the top level "team project" 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 GetTeamProjectName ( _
    item As String _
) As String
public static string GetTeamProjectName(
    string item
)
public:
static String^ GetTeamProjectName(
    String^ item
)
static member GetTeamProjectName : 
        item:string -> string
public static function GetTeamProjectName(
    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