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
Description | |
---|---|
PREVENT_BOTH_DELETE | Prevents the deletion of both the parent and child component documents. |
ALLOW_BOTH_DELETE | Allows the deletion of both the parent and child component documents. |
PREVENT_PARENT_DELETE | Prevents the deletion of the parent component document. |
PREVENT_CHILD_DELETE | Prevents 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 property for this object is set to (which deletes the child when the parent is deleted). |