Delen 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

'Declaration
Public Property Inherit As Boolean
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