ITeamFoundationLocationService.GetAccessMapping Method
Returns the access mapping for the provided moniker. If the access mapping is not found, null is returned.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function GetAccessMapping ( _
requestContext As TeamFoundationRequestContext, _
moniker As String, _
serviceOwner As Guid _
) As AccessMapping
AccessMapping GetAccessMapping(
TeamFoundationRequestContext requestContext,
string moniker,
Guid serviceOwner
)
AccessMapping^ GetAccessMapping(
TeamFoundationRequestContext^ requestContext,
String^ moniker,
Guid serviceOwner
)
abstract GetAccessMapping :
requestContext:TeamFoundationRequestContext *
moniker:string *
serviceOwner:Guid -> AccessMapping
function GetAccessMapping(
requestContext : TeamFoundationRequestContext,
moniker : String,
serviceOwner : Guid
) : AccessMapping
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe current request context.
moniker
Type: System.StringThe moniker of the access mapping to find.
serviceOwner
Type: System.GuidThe 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
The access mapping for the provided moniker or null if it isn't found.
.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.