This documentation is archived and is not being maintained.

AccessControlEntry.EntryType Property

Gets or sets a value that indicates how the access rights apply to the trustee.

[Visual Basic]
Public Property EntryType As AccessControlEntryType
public AccessControlEntryType EntryType {get; set;}
public: __property AccessControlEntryType get_EntryType();
public: __property void set_EntryType(AccessControlEntryType);
public function get EntryType() : AccessControlEntryType;
public function set EntryType(AccessControlEntryType);

Property Value

One of the AccessControlEntryType values, which specifies whether to allow, deny, set, or revoke the specified rights. The default is Allow.


Exception Type Condition
InvalidEnumArgumentException The entry type is not a valid AccessControlEntryType enumeration value.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

AccessControlEntry Class | AccessControlEntry Members | System.Messaging Namespace