Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function SetPermissions ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    token As String, _
    entries As IEnumerable(Of AccessControlEntry), _
    merge As Boolean _
) As Boolean
public bool SetPermissions(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string token,
    IEnumerable<AccessControlEntry> entries,
    bool merge
)
public:
bool SetPermissions(
    TeamFoundationRequestContext^ requestContext, 
    NotificationType notificationType, 
    String^ token, 
    IEnumerable<AccessControlEntry^>^ entries, 
    bool merge
)
member SetPermissions : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        token:string * 
        entries:IEnumerable<AccessControlEntry> * 
        merge:bool -> bool
public function SetPermissions(
    requestContext : TeamFoundationRequestContext, 
    notificationType : NotificationType, 
    token : String, 
    entries : IEnumerable<AccessControlEntry>, 
    merge : boolean
) : boolean
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- notificationType
 Type: Microsoft.TeamFoundation.Framework.Server.NotificationType
- token
 Type: System.String
- entries
 Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
- merge
 Type: System.Boolean
Return Value
Type: System.Boolean
Returns Boolean.
.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.