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
声明
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
- 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.