CatalogObject.<Catalog name>.SetDeletionMark
Syntax:
Parameters:
<DeletionMark> (required)
Deletion mark set / removal flag.
True indicates the mark is set; False indicates the mark is removed.
<IncludingSubordinates> (optional)
If the parameter is set to True, this item will be marked for deletion along with all of its subordinate items, in this catalog and in all subordinate catalogs.
If the parameter is set to False, only this item is marked for deletion.
Default value: True.
Description:
Availability:
Note:
If object is modified, then executing the method returns an exception.
Example:
Object.SetDeletionMark(True,True); |