Partager via


ITeamFoundationLocationService.GetServerAccessMapping Method

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

Syntax

'Declaration
Function GetServerAccessMapping ( _
    requestContext As TeamFoundationRequestContext, _
    serviceOwner As Guid _
) As AccessMapping
AccessMapping GetServerAccessMapping(
    TeamFoundationRequestContext requestContext,
    Guid serviceOwner
)
AccessMapping^ GetServerAccessMapping(
    TeamFoundationRequestContext^ requestContext, 
    Guid serviceOwner
)
abstract GetServerAccessMapping : 
        requestContext:TeamFoundationRequestContext * 
        serviceOwner:Guid -> AccessMapping
function GetServerAccessMapping(
    requestContext : TeamFoundationRequestContext, 
    serviceOwner : Guid
) : AccessMapping

Parameters

  • serviceOwner
    Type: System.Guid

    The service owner should be Guid.Empty if you are targetting the current service's location service. If you want to target a remote service's location service. This should be the Guid of the service. Use Microsoft.VisualStudio.Services.Common.ServiceOwners

Return Value

Type: Microsoft.VisualStudio.Services.Location.AccessMapping

.NET Framework Security

See Also

Reference

ITeamFoundationLocationService Interface

Microsoft.TeamFoundation.Framework.Server Namespace