Provides a set of constants that specify whether a property can be made persistent (that is, have its state stored in a database).


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

Syntax

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

Members

Member NameDescription
OWN_TABLESpecifies that the property has a dedicated table in the database and therefore can be made persistent. This setting applies only to multi-valued scalar (non-object) properties and causes the server to store a property's values into a custom table, which is generated by the server when its property template is first assigned to a class definition as a property definition. The name of this table is derived from the name of the corresponding property. Once it has been created, the same table will be used to store the property's values, regardless of the class to which the property is assigned.
OWN_COLUMNSpecifies that a property has a dedicated column in the database and therefore can be made persistent.
NOT_PERSISTENTSpecifies that a property cannot be made persistent. If a property is defined as NOT_PERSISTENT, has a default value defined, and the Settability property of its property template has a value of PropertySettability.READ_ONLY, the property is considered to be a constant and will always return its default value for any instance of the property that is returned.

See Also