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.
This method may not actually return the access mapping with Moniker=PublicAccessMapping. If no suc mapping exists we wll return the DefaultAccessMapping instead. If you need to find the actual access mapping with Moniker=PublicAccessMapping (which may or may not exist) you should call GetAccessMapping overload which takes in moniker parameter and be prepared for the possibility that it may return null.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetPublicAccessMapping ( _
requestContext As TeamFoundationRequestContext, _
serviceOwner As Guid _
) As AccessMapping
public AccessMapping GetPublicAccessMapping(
TeamFoundationRequestContext requestContext,
Guid serviceOwner
)
public:
virtual AccessMapping^ GetPublicAccessMapping(
TeamFoundationRequestContext^ requestContext,
Guid serviceOwner
) sealed
abstract GetPublicAccessMapping :
requestContext:TeamFoundationRequestContext *
serviceOwner:Guid -> AccessMapping
override GetPublicAccessMapping :
requestContext:TeamFoundationRequestContext *
serviceOwner:Guid -> AccessMapping
public final function GetPublicAccessMapping(
requestContext : TeamFoundationRequestContext,
serviceOwner : Guid
) : AccessMapping
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- serviceOwner
Type: System.Guid
Return Value
Type: Microsoft.VisualStudio.Services.Location.AccessMapping
Returns AccessMapping.
Implements
ITeamFoundationLocationService.GetPublicAccessMapping(TeamFoundationRequestContext, Guid)
.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.