ComponentAccessControlAttribute Constructor (Boolean)

 

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

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public:
ComponentAccessControlAttribute(
	bool val
)

Parameters

val
Type: System::Boolean

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

.NET Framework
Available since 1.1
Return to top
Show: