Delete¶
Deletes any existing data at the specified path in the repository.
1 | |
Parameters¶
string targetPath
The path to delete. If data exists at this path, the child path is deleted.
Remarks¶
This method deletes nodes at a specific path. If no path is available or you need to delete specific nodes, you can use the $XmlRepository.Query method with xquery update statements.
Delete a Customer:¶
1 | |
Delete all customers:¶
1 | |