This documentation is archived and is not being maintained.

IWorkspaceTemplate::Map Method

Adds a workspace mapping that has the specified server item and local item. Sets the mapping type to WorkspaceMappingType.Map.

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

IWorkspaceMapping^ Map(
	String^ serverItem, 
	String^ localItem
)

Parameters

serverItem
Type: System::String

The server item to map.

localItem
Type: System::String

The local item to map.

Return Value

Type: Microsoft.TeamFoundation.Build.Client::IWorkspaceMapping
A new workspace mapping.

Show: