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 corresponding server item for the specified local item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetServerItemForLocalItem ( _
localItem As String _
) As String
public string GetServerItemForLocalItem(
string localItem
)
public:
String^ GetServerItemForLocalItem(
String^ localItem
)
member GetServerItemForLocalItem :
localItem:string -> string
public function GetServerItemForLocalItem(
localItem : String
) : String
Parameters
localItem
Type: System.StringThe path to the local item.
Return Value
Type: System.String
The corresponding server item for the specified local item.
Exceptions
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. |
Remarks
First shipped in TFS 2005
.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.