Creates a new instance of a Create pending action object initialized with the specified parameters.


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

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal classId As String,  _ 
   ByVal objectId As String,  _ 
   ByVal autoUniqueContainmentName As Nullable(Of Boolean),  _ 
   ByVal reservationType As ReservationType,  _ 
   ByVal defineSecurityParentage As Nullable(Of Boolean),  _ 
   ByVal versionSeriesId As String _ 
)
C#
public Create(
   string classId,
   string objectId,
   Nullable<bool> autoUniqueContainmentName,
   ReservationType reservationType,
   Nullable<bool> defineSecurityParentage,
   string versionSeriesId
)
C++
public:
 Create(
   String classId,
   String objectId,
   Nullable<bool> autoUniqueContainmentName,
   ReservationType reservationType,
   Nullable<bool> defineSecurityParentage,
   String versionSeriesId
) sealed 
J#
public Create(
   string classId,
   string objectId,
   Nullable<bool> autoUniqueContainmentName,
   ReservationType reservationType,
   Nullable<bool> defineSecurityParentage,
   string versionSeriesId
)
JScript
public function Create(
   classId : String,
   objectId : String,
   autoUniqueContainmentName : Nullable<bool>,
   reservationType : ReservationType,
   defineSecurityParentage : Nullable<bool>,
   versionSeriesId : String
)

Parameters

classId
A String containing the identifier (GUID) or symbolic name of the class of object to be created.
objectId
A String containing the identifier (GUID) of object to be created. If an ID is not specified, one is automatically generated.
autoUniqueContainmentName
True if a unique containment name can be automatically generated for the new object; otherwise, False. This parameter only applies to ReferentialContainmentRelationship and DynamicReferentialContainmentRelationship objects.
reservationType
Specifies the reservation type (collaborative, exclusive, or extracted from the object store). This parameter only applies to versionable objects. Specifying Null causes the reservation type to be set to the value of the object store’s DefaultReservationType property. This parameter is ignored if the Create action is combined with a Checkin action.
defineSecurityParentage
Specifies whether the SecurityParent property of the object pointed to by the ReferentialContainmentRelationship object's Head property is set to the ReferentialContainmentRelationship object (in the same transaction). This parameter is ignored for create actions on all underlying objects except ReferentialContainmentRelationship and DynamicReferentialContainmentRelationship.
versionSeriesId
Specifies the version series ID for the underlying object. This parameter only applies to versionable objects.

See Also