EntryType Property
Gets or sets a value that indicates how the access rights apply to the trustee.
Syntax
'Declaration Public Property EntryType As AccessControlEntryType
'Usage Dim instance As AccessControlEntry Dim value As AccessControlEntryType instance.EntryType = value value = instance.EntryType
public AccessControlEntryType EntryType {get; set;}
public: property AccessControlEntryType EntryType { AccessControlEntryType get(); void set ( AccessControlEntryType value); }
Property Value
One of the AccessControlEntryType values, which specifies whether to allow, deny, set, or revoke the specified rights. The default is Allow.Exceptions
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The entry type is not a valid AccessControlEntryType enumeration value. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also