OPC Studio User's Guide and Reference
GetNamespaceTable Method (IUAServerTables)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Services Namespace > IUAServerTables Interface : GetNamespaceTable Method
The endpoint descriptor of the OPC UA server for which the namespace table should be returned.
Retrieves an array with namespace URI strings (namespace table) for the specified server.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetNamespaceTable( _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As ValueResult(Of String())
'Usage
 
Dim instance As IUAServerTables
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As ValueResult(Of String())
 
value = instance.GetNamespaceTable(endpointDescriptor)

Parameters

endpointDescriptor
The endpoint descriptor of the OPC UA server for which the namespace table should be returned.

Return Value

Returns value result with the namespace table of the server.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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