Share via


TeamFoundationLocationService.GetPublicAccessMapping Method

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

Return Value

Type: Microsoft.VisualStudio.Services.Location.AccessMapping
Returns AccessMapping.

Implements

ITeamFoundationLocationService.GetPublicAccessMapping(TeamFoundationRequestContext, Guid)

.NET Framework Security

See Also

Reference

TeamFoundationLocationService Class

Microsoft.TeamFoundation.Framework.Server Namespace