Partager via


ILocationService.SetDefaultAccessMapping Method

Sets the default AccessMapping to the AccessMapping passed in.

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

Syntax

'Declaration
Sub SetDefaultAccessMapping ( _
    accessMapping As AccessMapping _
)
void SetDefaultAccessMapping(
    AccessMapping accessMapping
)
void SetDefaultAccessMapping(
    AccessMapping^ accessMapping
)
abstract SetDefaultAccessMapping : 
        accessMapping:AccessMapping -> unit
function SetDefaultAccessMapping(
    accessMapping : AccessMapping
)

Parameters

Exceptions

Exception Condition
AccessMappingNotRegisteredException

The AccessMapping being set to the default has not been registered.

.NET Framework Security

See Also

Reference

ILocationService Interface

Microsoft.TeamFoundation.Framework.Client Namespace