QuickOPC User's Guide and Reference
TurnOffActivationSecurity Property (ComInstantiationParameters)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Runtime.InteropServices Namespace > ComInstantiationParameters Class : TurnOffActivationSecurity Property
Indicates that activation security should be turned off when the COM object is created.
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(False)>
Public Property TurnOffActivationSecurity As Boolean
'Usage
 
Dim instance As ComInstantiationParameters
Dim value As Boolean
 
instance.TurnOffActivationSecurity = value
 
value = instance.TurnOffActivationSecurity
[DataMember()]
[DefaultValue(false)]
public bool TurnOffActivationSecurity {get; set;}
[DataMember()]
[DefaultValue(false)]
public:
property bool TurnOffActivationSecurity {
   bool get();
   void set (    bool value);
}
Remarks

This property is used by following client implementations:

In order to turn off the activation security, the OverrideDefaultSecurity property must also be set to true.

See Turning Off Activation Security. For this to work, the server must specify Everyone for Default Launch Permissions.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also