Delen via


Workspace.TryGetLocalItemForServerItem Method (String)

Gets the corresponding local item for the specified server item.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function TryGetLocalItemForServerItem ( _
    serverItem As String _
) As String
public string TryGetLocalItemForServerItem(
    string serverItem
)
public:
String^ TryGetLocalItemForServerItem(
    String^ serverItem
)
member TryGetLocalItemForServerItem : 
        serverItem:string -> string
public function TryGetLocalItemForServerItem(
    serverItem : String
) : String

Parameters

Return Value

Type: System.String
The corresponding local item for the specified server item.

Remarks

First shipped in TFS 2005

.NET Framework Security

See Also

Reference

Workspace Class

TryGetLocalItemForServerItem Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace