ILocationService.RemoveAccessMapping Method

Removes an AccessMapping and all of the locations that are mapped to it within ServiceDefinitions.

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

Syntax

'Declaration
Sub RemoveAccessMapping ( _
    moniker As String _
)
void RemoveAccessMapping(
    string moniker
)
void RemoveAccessMapping(
    String^ moniker
)
abstract RemoveAccessMapping : 
        moniker:string -> unit
function RemoveAccessMapping(
    moniker : String
)

Parameters

  • moniker
    Type: System.String

    The moniker for the AccessMapping to remove.

Exceptions

Exception Condition
RemoveAccessMappingException

Thrown if the caller tries to remove the default AccessMapping and this location service cannot inherit its default AccessMapping from a parent.

.NET Framework Security

See Also

Reference

ILocationService Interface

Microsoft.TeamFoundation.Framework.Client Namespace