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
item
Type: System.StringA fully qualified server item.
Return Value
Type: System.String
The top level project from the version control specification.
.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.