Share via


ServiceDefinition.RemoveLocationMapping Method

Removes the location mapping for the access mapping provided. Note that access mappings are determined to be equal based on their moniker.

Namespace:  Microsoft.TeamFoundation.Server.Core.Location
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function RemoveLocationMapping ( _
    accessMapping As AccessMapping _
) As Boolean
public bool RemoveLocationMapping(
    AccessMapping accessMapping
)
public:
bool RemoveLocationMapping(
    AccessMapping^ accessMapping
)
member RemoveLocationMapping : 
        accessMapping:AccessMapping -> bool
public function RemoveLocationMapping(
    accessMapping : AccessMapping
) : boolean

Parameters

Return Value

Type: System.Boolean
True if something was removed.

.NET Framework Security

See Also

Reference

ServiceDefinition Class

Microsoft.TeamFoundation.Server.Core.Location Namespace