This documentation is archived and is not being maintained.
Workspace::GetServerItemForLocalItem Method
Visual Studio 2013
Gets the corresponding server item for the specified local item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- localItem
- Type: System::String
The path to the local item.
| Exception | Condition |
|---|---|
| ItemNotMappedException | Thrown if the local item is not mapped in the workspace. |
| ItemCloakedException | Thrown if the local item is cloaked in the workspace. |
- 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: