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
accessMapping
Type: Microsoft.TeamFoundation.Server.Core.Location.AccessMappingThe access mapping whose mapping should be removed.
Return Value
Type: System.Boolean
True if something was removed.
.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.