Errata exists for this version of the document.
Delete is used to delete a file or directory organized by this Object.
Signature
Delete(
[in] NodeId objectToDelete
);
Argument |
Description |
objectToDelete |
The NodeId of the file or directory to delete. In the case of a directory, all file and directory Objects below the directory to delete are deleted recursively. |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_NotFound |
See OPC 10000-4 for a general description. A file or directory with the provided NodeId is not organized by this object. |
Bad_InvalidState |
See OPC 10000-4 for a general description. The file or directory is locked and thus cannot be deleted. |
Bad_UserAccessDenied |
See OPC 10000-4 for a general description. |
Table C.11 specifies the AddressSpace representation for the Delete Method.
Table C.11 – Delete Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
Delete |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |