Share via


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)

Syntax

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

Parameters

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.

.NET Framework Security

See Also

Reference

Workspace Class

TryGetWorkingFolderForServerItem Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace