QuickOPC User's Guide and Reference
GetTypeDefinitionId Method (UAServerModelProvider)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAServerModelProvider Class : GetTypeDefinitionId Method
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
The OPC-UA type definition ID. The NodeId of the type definition. Valid when exception is equal to null.
Contains information about the error encountered while interrogating the model, or null if the operation was successful.
Interrogates the information model for the OPC-UA type definition ID of the given node.
Syntax
'Declaration
 
Public Function GetTypeDefinitionId( _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor, _
   ByRef typeDefinitionId As UANodeId, _
   ByRef exception As Exception _
) As Boolean
'Usage
 
Dim instance As UAServerModelProvider
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim typeDefinitionId As UANodeId
Dim exception As Exception
Dim value As Boolean
 
value = instance.GetTypeDefinitionId(endpointDescriptor, nodeDescriptor, typeDefinitionId, exception)

Parameters

endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.
typeDefinitionId
The OPC-UA type definition ID. The NodeId of the type definition. Valid when exception is equal to null.
exception
Contains information about the error encountered while interrogating the model, or null if the operation was successful.

Return Value

Returns true if the model provider is responsible for (has knowledge about) the specified node; return false otherwise.
Requirements

Target Platforms: .NET Framework: Windows 10, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

UAServerModelProvider Class
UAServerModelProvider Members