Defines settings for the delete behavior of parent and child components within a compound document. The prevention settings protect a document from deletion by causing an exception to be thrown on a deletion attempt.


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

Syntax

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

Members

Member NameDescription
PREVENT_BOTH_DELETEPrevents the deletion of both the parent and child component documents.
ALLOW_BOTH_DELETEAllows the deletion of both the parent and child component documents.
PREVENT_PARENT_DELETEPrevents the deletion of the parent component document.
PREVENT_CHILD_DELETEPrevents the deletion of the child component document if the parent component document exists. This setting also prevents the deletion of a parent component document if the ComponentCascadeDelete property for this ComponentRelationship object is set to CASCADE_DELETE (which deletes the child when the parent is deleted).

See Also