Indicates that custom security settings should be used for COM object access.
Syntax
'Declaration
Property UseCustomSecurity As Boolean
'Usage
Dim instance As _ComSecurityParameters
Dim value As Boolean
instance.UseCustomSecurity = value
value = instance.UseCustomSecurity
bool UseCustomSecurity {get; set;}
property bool UseCustomSecurity {
bool get();
void set ( bool value);
}
Property Value
The default value of this property is True
.
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