ITcSmTreeItem::DeleteChild

Deletes a child item.

HRESULT DeleteChild(BSTRbstrName);

Parameters

bstrName

[in] Item name of the child item that should be deleted.

Return Values

S_OK

function returns successfully.

E_ACCESSDENIED

it is not allowed to delete the child item.

TSM_E_ITEMNOTFOUND (0x98510001)

The item bstrBefore was not found.