Removes the specified object from the current work set.
Returns eOk if successful, or an appropriate error code if not.