Delen via


ITeamFoundationLocationService.GetDefaultAccessMapping Method

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

Syntax

'Declaration
Function GetDefaultAccessMapping ( _
    requestContext As TeamFoundationRequestContext, _
    serviceOwner As Guid _
) As AccessMapping
AccessMapping GetDefaultAccessMapping(
    TeamFoundationRequestContext requestContext,
    Guid serviceOwner
)
AccessMapping^ GetDefaultAccessMapping(
    TeamFoundationRequestContext^ requestContext, 
    Guid serviceOwner
)
abstract GetDefaultAccessMapping : 
        requestContext:TeamFoundationRequestContext * 
        serviceOwner:Guid -> AccessMapping
function GetDefaultAccessMapping(
    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