Partager via


SecurityNamespace.SetInheritFlag Method

Sets a flag that states whether the AccessControlList that is associated with the specified token should inherit permissions from the parent tokens.

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

Syntax

'Déclaration
Public MustOverride Sub SetInheritFlag ( _
    token As String, _
    inherit As Boolean _
)
public abstract void SetInheritFlag(
    string token,
    bool inherit
)
public:
virtual void SetInheritFlag(
    String^ token, 
    bool inherit
) abstract
abstract SetInheritFlag : 
        token:string * 
        inherit:bool -> unit 
public abstract function SetInheritFlag(
    token : String, 
    inherit : boolean
)

Parameters

  • inherit
    Type: System.Boolean
    True if it should inherit permissions from parent tokens; otherwise, false.

.NET Framework Security

See Also

Reference

SecurityNamespace Class

Microsoft.TeamFoundation.Framework.Client Namespace