Workspace.Map Method

Adds a 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

'Declaração
Public Sub Map ( _
    serverPath As String, _
    localPath As String _
)
public void Map(
    string serverPath,
    string localPath
)
public:
void Map(
    String^ serverPath, 
    String^ localPath
)
member Map : 
        serverPath:string * 
        localPath:string -> unit 
public function Map(
    serverPath : String, 
    localPath : String
)

Parameters

  • serverPath
    Type: System.String
    The repository path to the folder being mapped.
  • localPath
    Type: System.String
    The path to the local location being mapped.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace