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
- 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.
.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.