Hello,
I need to delete nodes that have children properties. However when using UaServer_RemoveNode(), the properties are not removed from the server address space.
I see the C++ sdk has a deleteUaNode() method with a recursive parameter. Is there an equivalent in the ANSI C sdk?
Thanks in advance,
Jfsi
Deleting node with properties
Moderator: uasdkc
-
- Full Member
- Posts: 5
- Joined: 14 Sep 2017, 08:35
Re: Deleting node with properties
Ok, I found the way:
Call OpcUa_BaseNode_GetReferences to get all references in a UaBase_Vector, iterate on it and call UaServer_Removenode.
Call OpcUa_BaseNode_GetReferences to get all references in a UaBase_Vector, iterate on it and call UaServer_Removenode.