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.
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
accessMapping
Type: Microsoft.TeamFoundation.Framework.Client.AccessMappingThe AccessMapping that should become the default AccessMapping. This AccessMapping must already be configured with this location service.
Exceptions
Exception | Condition |
---|---|
AccessMappingNotRegisteredException | The AccessMapping being set to the default has not been registered. |
.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.