Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.