This documentation is archived and is not being maintained.
Workspace::GetTeamProjectForLocalPath Method
Visual Studio 2013
Gets the TeamProject instance that contains the specified path.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- localPath
- Type: System::String
The local path.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client::TeamProjectThe TeamProject instance for the specified local path or a VersionControlException.
| Exception | Condition |
|---|---|
| VersionControlException |
- 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.
Show: