แก้ไข

แชร์ผ่าน


ComponentAccessControlAttribute Constructors

Definition

Initializes a new instance of the ComponentAccessControlAttribute class.

Overloads

ComponentAccessControlAttribute()

Initializes a new instance of the ComponentAccessControlAttribute class.

ComponentAccessControlAttribute(Boolean)

Initializes a new instance of the ComponentAccessControlAttribute class and sets the Value property to indicate whether to enable COM+ security configuration.

ComponentAccessControlAttribute()

Initializes a new instance of the ComponentAccessControlAttribute class.

public:
 ComponentAccessControlAttribute();
public ComponentAccessControlAttribute ();
Public Sub New ()

Applies to

ComponentAccessControlAttribute(Boolean)

Initializes a new instance of the ComponentAccessControlAttribute class and sets the Value property to indicate whether to enable COM+ security configuration.

public:
 ComponentAccessControlAttribute(bool val);
public ComponentAccessControlAttribute (bool val);
new System.EnterpriseServices.ComponentAccessControlAttribute : bool -> System.EnterpriseServices.ComponentAccessControlAttribute
Public Sub New (val As Boolean)

Parameters

val
Boolean

true to enable security checking on calls to a component; otherwise, false.

Applies to