Export (0) Print
Expand All
Expand Minimize

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
)

Parameters

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.

Show:
© 2014 Microsoft