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
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.