Deletes the specified child node from the configuration service provider node. ICSPNode::Clear must always be called first on the child node that is to be deleted.
HRESULT DeleteChild([in] IConfigManager2URI* puriChildToDelete);
|CFGMGR_E_NODENOTFOUND||The child node does not exist|
|CFGMGR_E_COMMANDNOTALLOWED||The child node to be deleted is a read-only node|
A value of S_OK indicates that a node was successfully deleted. CFGMGR_E_NODENOTFOUND indicates that the child node does not exist. CFGMGR_E_COMMANDNOTALLOWED indicates that this node does not support the ICSP::DeleteChild method, or that the child node to be deleted is a read-only node.
For externally–transactioned nodes, if this method is implemented, then ICSPNode::Add must also be implemented or rollback will fail.