Workspace.TryGetWorkingFolderForServerItem Method (String)

Gets a WorkingFolder instance that describes how the specified WorkingFolder objects map the server item.

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

public WorkingFolder TryGetWorkingFolderForServerItem(
	string serverItem
)

Parameters

serverItem
Type: System.String

A server path in the workspace.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder
A WorkingFolder instance that describes how the specified WorkingFolder objects map the server path in the workspace. Null if the server path is not mapped.

First shipped in TFS 2005

Show: