Reference for Team Foundation Server SDK
Workspace.Map Method

Adds a working file or folder mapping associating the specified server path with a location on the local disk.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

Syntax

Visual Basic (Declaration)
Public Sub Map ( _
	serverPath As String, _
	localPath As String _
)
Visual Basic (Usage)
Dim instance As Workspace
Dim serverPath As String
Dim localPath As String

instance.Map(serverPath, localPath)
C#
public void Map (
	string serverPath,
	string localPath
)
C++
public:
void Map (
	String^ serverPath, 
	String^ localPath
)
J#
public void Map (
	String serverPath, 
	String localPath
)
JScript
public function Map (
	serverPath : String, 
	localPath : String
)

Parameters

serverPath

The database path of the folder being mapped.

localPath

The path of the location being mapped to.

See Also

Tags :


Page view tracker