Partager via


ItemSecurity.Inherit Property

Gets or sets a flag that describes the permission inheritance of this item.

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

Syntax

'Déclaration
Public Property Inherit As Boolean
    Get
    Set
public bool Inherit { get; set; }
public:
property bool Inherit {
    bool get ();
    void set (bool value);
}
member Inherit : bool with get, set
function get Inherit () : boolean
function set Inherit (value : boolean)

Property Value

Type: System.Boolean
True to inherit permissions from the parent; otherwise, false.

.NET Framework Security

See Also

Reference

ItemSecurity Class

Microsoft.TeamFoundation.VersionControl.Client Namespace