Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Workspace.GetTeamProjectForLocalPath Method

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)

public TeamProject GetTeamProjectForLocalPath(
	string localPath


Type: System.String

The local path.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProject
The TeamProject instance for the specified local path or a VersionControlException.

The local path must be in this workspace.

© 2015 Microsoft