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
声明
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 describing how the server path is mapped 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.