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
accessMapping
Type: Microsoft.TeamFoundation.Framework.Client.AccessMappingThe AccessMapping for the LocationMapping to 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.