Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringThe 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
- 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.