Workspace.Map Method

Maps the specified server path to a location on the local disk.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
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 server path of the folder that is being mapped.

  • localPath
    Type: System.String

    The path of the local location that is being mapped.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace