PipeSecurity.AccessRightType 属性

定义

获取与当前 Type 对象关联的可保护对象的 PipeSecurityGets the Type of the securable object that is associated with the current PipeSecurity object.

public:
 virtual property Type ^ AccessRightType { Type ^ get(); };
public override Type AccessRightType { get; }
member this.AccessRightType : Type
Public Overrides ReadOnly Property AccessRightType As Type

属性值

与当前 PipeSecurity 对象关联的可保护对象的类型。The type of the securable object that is associated with the current PipeSecurity object.

注解

派生自ObjectSecurity类的类将AccessRightType重写属性, 并返回它们用来表示访问权限的类型。Classes that derive from the ObjectSecurity class override the AccessRightType property and return the type they use to represent access rights. 当使用包含多个类型的安全对象的数组或集合时, 请使用此属性来确定要用于每个安全对象的正确枚举类型。When you work with arrays or collections that contain multiple types of security objects, use this property to determine the correct enumeration type to use with each security object.

适用于