Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
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)

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker