Provides a set of constants that identify the action to be taken with respect to an object-valued property when an attempt is made to delete the object that contains the property.


Namespace: FileNet.Api.Constants
Assembly: FileNet.Api (in filenet.api.dll)

Syntax

Visual Basic (Declaration)
Public Enum DeletionAction
C#
public enum DeletionAction
C++
public enum class DeletionAction
J#
public enum DeletionAction
JScript
public enum DeletionAction

Members

Member NameDescription
PREVENTSpecifies that, if a given object-valued property has a value (references one or more objects), the deletion operation of the object containing the property will be prevented until all of the objects that the property references are deleted first. For example because a folder's SubFolders property is set to PREVENT, you will not be able to delete a folder until you first delete all of the folders referenced by its SubFolders property.
CASCADESpecifies that, if the object containing a given object-valued property is deleted, any objects referenced by the property will also be deleted. For example because the DeletionAction property of a document's Annotations property is set to CASCADE, if you delete a document the Content Engine automatically deletes all of the annotation objects referenced by its Annotations property.
NONESpecifies that, if an attempt is made to delete the object containing a given object-valued property, no special action will be taken; objects referenced by the property will not be deleted, nor will the object containing the property be prevented from being deleted.

See Also