OPC Studio User's Guide and Reference
AccessLevels Property



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.NodeSpace Namespace > UADataVariable Class : AccessLevels Property
The access levels of this variable (e.g. readable, writable).
Syntax
'Declaration
 
<IgnoreDataMemberAttribute()>
Public ReadOnly Property AccessLevels As UAAccessLevels
'Usage
 
Dim instance As UADataVariable
Dim value As UAAccessLevels
 
value = instance.AccessLevels
[IgnoreDataMember()]
public UAAccessLevels AccessLevels {get;}
[IgnoreDataMember()]
public:
property UAAccessLevels AccessLevels {
   UAAccessLevels get();
}

Property Value

The access levels defined by the OpcLabs.EasyOpc.UA.UAAccessLevels enumeration.

The default value of this property is CurrentReadAndWrite (UAAccessLevels.CurrentReadAndWrite).

Remarks

Access levels determine how clients can interact with this variable. For example, a variable may be readable and writable, readable only, or neither, depending on how it is configured. This property allows for the specification of such access constraints.

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