Compartilhar via


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

'Declaração
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

Return Value

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

.NET Framework Security

See Also

Reference

IWorkspaceTemplate Interface

Microsoft.TeamFoundation.Build.Client Namespace