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 TeamProject instance that contains the specified path.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetTeamProjectForLocalPath ( _
localPath As String _
) As TeamProject
public TeamProject GetTeamProjectForLocalPath(
string localPath
)
public:
TeamProject^ GetTeamProjectForLocalPath(
String^ localPath
)
member GetTeamProjectForLocalPath :
localPath:string -> TeamProject
public function GetTeamProjectForLocalPath(
localPath : String
) : TeamProject
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.
Exceptions
Exception | Condition |
---|---|
VersionControlException |
Remarks
The local path must be in this workspace.
.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.