Поделиться через


TeamFoundationSecurityService.GetSecurityNamespace Method

Returns the TeamFoundationSecurityNamespace instance associated with the GUID. Null will be returned if the GUID does not have an associated ITeamFoundationSecurityNamespace.

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

Syntax

'Declaration
Public Function GetSecurityNamespace ( _
    requestContext As TeamFoundationRequestContext, _
    namespaceId As Guid _
) As TeamFoundationSecurityNamespace
public TeamFoundationSecurityNamespace GetSecurityNamespace(
    TeamFoundationRequestContext requestContext,
    Guid namespaceId
)
public:
virtual TeamFoundationSecurityNamespace^ GetSecurityNamespace(
    TeamFoundationRequestContext^ requestContext, 
    Guid namespaceId
) sealed
abstract GetSecurityNamespace : 
        requestContext:TeamFoundationRequestContext * 
        namespaceId:Guid -> TeamFoundationSecurityNamespace  
override GetSecurityNamespace : 
        requestContext:TeamFoundationRequestContext * 
        namespaceId:Guid -> TeamFoundationSecurityNamespace
public final function GetSecurityNamespace(
    requestContext : TeamFoundationRequestContext, 
    namespaceId : Guid
) : TeamFoundationSecurityNamespace

Parameters

  • namespaceId
    Type: System.Guid

    The GUID of the desired security namespace.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationSecurityNamespace
The ITeamFoundationSecurityNamespace instance associated with the GUID.

Implements

ITeamFoundationSecurityService.GetSecurityNamespace(TeamFoundationRequestContext, Guid)

.NET Framework Security

See Also

Reference

TeamFoundationSecurityService Class

Microsoft.TeamFoundation.Framework.Server Namespace