Compartilhar via


Workspace.TryGetWorkingFolderForServerItem Method (String)

Gets a WorkingFolder instance describing how the server item is mapped in the workspace.

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

Syntax

'Declaração
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 describing how the server path is mapped 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