5 Service Sets ToC Previous Next

5.7 NodeManagement Service Set ToC Previous Next

5.7.4 DeleteNodes ToC Previous Next

5.7.4.1 Description ToC

This Service is used to delete one or more Nodes from the AddressSpace.

When any of the Nodes deleted by an invocation of this Service is the TargetNode of a Reference, then those References are left unresolved based on the deleteTargetReferences parameter.

When any of the Nodes deleted by an invocation of this Service is being monitored, then a Notification containing the status code Bad_NodeIdUnknown is sent to the monitoring Client indicating that the Node has been deleted.

5.7.4.2 Parameters ToC

Table 28 defines the parameters for the Service.

Table 28 – DeleteNodes Service Parameters

Name Type Description
Request    
   requestHeader Request Header Common request parameters (see 7.28 for RequestHeader definition).
   nodesToDelete [] DeleteNodes Item List of Nodes to delete. This structure is defined in-line with the following indented items.
      nodeId NodeId NodeId   of the Node to delete.
      deleteTargetReferences Boolean A Boolean parameter with the following values:
   TRUE delete References in TargetNodes that Reference the Node to delete.
   FALSE delete only the References for which the Node to delete is the source.
The Server cannot guarantee that it is able to delete all References from TargetNodes if this parameter is TRUE.
     
Response    
   responseHeader Response Header Common response parameters (see 7.29 for ResponseHeader definition).
   results [] StatusCode List of StatusCodes for the Nodes to delete (see 7.34 for StatusCode definition). The size and order of the list matches the size and order of the list of the nodesToDelete request parameter.
   diagnosticInfos [] Diagnostic Info List of diagnostic information for the Nodes to delete (see 7.8 for DiagnosticInfo definition). The size and order of the list matches the size and order of the nodesToDelete request parameter. This list is empty if diagnostics information was not requested in the request header or if no diagnostic information was encountered in processing of the request.

5.7.4.3 Service results ToC

Table 29 defines the Service results specific to this Service. Common StatusCodes are defined in Table 177.

Table 29 – DeleteNodes Service Result Codes

Symbolic Id Description
Bad_NothingToDo See Table 177 for the description of this result code.
Bad_TooManyOperations See Table 177 for the description of this result code.

5.7.4.4 StatusCodes ToC

Table 30 defines values for the results parameter that are specific to this Service. Common StatusCodes are defined in Table 178.

Table 30 – DeleteNodes Operation Level Result Codes

Symbolic Id Description
Bad_NodeIdInvalid See Table 178 for the description of this result code.
Bad_NodeIdUnknown See Table 178 for the description of this result code.
Bad_UserAccessDenied See Table 177 for the description of this result code.
Bad_NoDeleteRights See Table 178 for the description of this result code.
Uncertain_ReferenceNotDeleted The Server was not able to delete all target references.

Previous Next