Delen via


ISecurityChangedEventHandler.SetInheritFlag Method

Allows the implementer to override, block or listen for SetInheritFlag calls.

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

Syntax

'Declaration
Function SetInheritFlag ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    token As String, _
    inherit As Boolean _
) As Boolean
bool SetInheritFlag(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string token,
    bool inherit
)
bool SetInheritFlag(
    TeamFoundationRequestContext^ requestContext, 
    NotificationType notificationType, 
    String^ token, 
    bool inherit
)
abstract SetInheritFlag : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        token:string * 
        inherit:bool -> bool
function SetInheritFlag(
    requestContext : TeamFoundationRequestContext, 
    notificationType : NotificationType, 
    token : String, 
    inherit : boolean
) : boolean

Parameters

  • inherit
    Type: System.Boolean

    True if the token should inherit permissions from its parent.

Return Value

Type: System.Boolean
True if the operation should continue in the security namespace this notification is coming from.

.NET Framework Security

See Also

Reference

ISecurityChangedEventHandler Interface

Microsoft.TeamFoundation.Framework.Server Namespace