Dela via


IWorkspaceTemplate.RemoveMapping Method (String)

Removes the mapping for the specified server item from the workspace template.

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

Syntax

'Declaration
Function RemoveMapping ( _
    serverItem As String _
) As Boolean
bool RemoveMapping(
    string serverItem
)
bool RemoveMapping(
    String^ serverItem
)
abstract RemoveMapping : 
        serverItem:string -> bool
function RemoveMapping(
    serverItem : String
) : boolean

Parameters

  • serverItem
    Type: System.String

    The server item of the mapping that will be removed.

Return Value

Type: System.Boolean
True if the mapping was successfully removed; otherwise, false.

.NET Framework Security

See Also

Reference

IWorkspaceTemplate Interface

RemoveMapping Overload

Microsoft.TeamFoundation.Build.Client Namespace