Property :: removeFromCollection - Remove instance from collection
Sometimes, instances could not be removed because of an error. In this case, this function can be used in order to remove inconsistent instances from the the indexes of a collection. The function tries to remove the located instance from all indexes of the collection.
The function tries to locate the instance in the index via its LOID. After locating the instance by key or position, the function will remove the instance from the currently selected index.
The function does not maintain derived collections (subsets) and will not delete the instance physically.
In case of an error, the function throws an exception.
// OShell