Page 1 of 1

Deleting node with properties

Posted: 21 Feb 2018, 16:26
by jfsi
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

Re: Deleting node with properties

Posted: 23 Feb 2018, 15:55
by jfsi
Ok, I found the way:
Call OpcUa_BaseNode_GetReferences to get all references in a UaBase_Vector, iterate on it and call UaServer_Removenode.