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
[C#]
public AccessControlEntryType EntryType {get; set;}
[C++]
public: __property AccessControlEntryType get_EntryType();
public: __property void set_EntryType(AccessControlEntryType);
[JScript]
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.

Exceptions

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

Requirements

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

Show: