QuickOPC User's Guide and Reference
GetNamespaceTable Method (_UAServerTables)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Services.ComTypes Namespace > _UAServerTables 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
 
<CanBeNullAttribute()>
Function GetNamespaceTable( _
   ByVal endpointDescriptor As Object _
) As ValueResult
'Usage
 
Dim instance As _UAServerTables
Dim endpointDescriptor As Object
Dim value As ValueResult
 
value = instance.GetNamespaceTable(endpointDescriptor)
[CanBeNull()]
ValueResult GetNamespaceTable( 
   object endpointDescriptor
)
[CanBeNull()]
ValueResult^ GetNamespaceTable( 
   Object^ 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