IConsoleNameSpace::DeleteItem
[This is preliminary documentation and subject to change.]
Enables the snap-in to delete a single item from the scope view pane.
HRESULT DeleteItem(
HSCOPEITEM hItem, // Handle of item
long fDeleteThis // Flag specifying deletion of hItem
);
Parameters
-
hItem
-
[in] Handle of the item whose children need to be deleted from the scope view.
-
fDeleteThis
-
[in] If this parameter is TRUE, the item specified by hItem is also deleted; otherwise, it is not.
Return Values
-
S_OK
-
One or more items were successfully deleted.
-
E_UNEXPECTED
-
An unexpected error occurred.
See Also
IConsoleNameSpace