แก้ไข

แชร์ผ่าน


ResourcePermissionBase.PermissionAccessType Property

Definition

Gets or sets an enumeration value that describes the types of access that you are giving the resource.

protected:
 property Type ^ PermissionAccessType { Type ^ get(); void set(Type ^ value); };
protected Type PermissionAccessType { get; set; }
member this.PermissionAccessType : Type with get, set
Protected Property PermissionAccessType As Type

Property Value

An enumeration value that is derived from Type and describes the types of access that you are giving the resource.

Exceptions

The property value is null.

The property value is not an enumeration value.

Notes to Inheritors

When you inherit from ResourcePermissionBase, you must set this property. For an example of an implementation of this class, see PerformanceCounterPermission. In PerformanceCounterPermission, the PermissionAccessType property is privately set to the type of PerformanceCounterPermissionAccess.

Applies to