Partager via


ServiceDefinition.RemoveLocationMapping Method

Removes the LocationMapping for the AccessMapping provided. Note that AccessMappings are determined to be equal based on their moniker.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.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.Framework.Client Namespace