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)
Syntax
'Declaration
Function Map ( _
serverItem As String, _
localItem As String _
) As IWorkspaceMapping
IWorkspaceMapping Map(
string serverItem,
string localItem
)
IWorkspaceMapping^ Map(
String^ serverItem,
String^ localItem
)
abstract Map :
serverItem:string *
localItem:string -> IWorkspaceMapping
function Map(
serverItem : String,
localItem : String
) : IWorkspaceMapping
Parameters
serverItem
Type: System.StringThe server item to map.
localItem
Type: System.StringThe local item to map.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IWorkspaceMapping
A new workspace mapping.
.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.