Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the team project for the specified server path.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function TryGetTeamProjectForServerPath ( _
serverPath As String _
) As TeamProject
public TeamProject TryGetTeamProjectForServerPath(
string serverPath
)
public:
TeamProject^ TryGetTeamProjectForServerPath(
String^ serverPath
)
member TryGetTeamProjectForServerPath :
serverPath:string -> TeamProject
public function TryGetTeamProjectForServerPath(
serverPath : String
) : TeamProject
Parameters
- serverPath
Type: System.String
The server path of the team project to get.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProject
The team project with the specified path. Null otherwise.
.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.