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)

ToggleSyntax

Visual Basic (Declaration)
Public Sub New ( _
	classId As String, _
	objectId As String, _
	autoUniqueContainmentName As Nullable(Of Boolean), _
	reservationType As ReservationType, _
	defineSecurityParentage As Nullable(Of Boolean), _
	versionSeriesId As String _
)
C#
public Create(
	string classId,
	string objectId,
	Nullable<bool> autoUniqueContainmentName,
	ReservationType reservationType,
	Nullable<bool> defineSecurityParentage,
	string versionSeriesId
)
Visual C++
public:
Create(
	String^ classId, 
	String^ objectId, 
	Nullable<bool> autoUniqueContainmentName, 
	ReservationType reservationType, 
	Nullable<bool> defineSecurityParentage, 
	String^ versionSeriesId
)
JavaScript
FileNet.Api.Action.Create = function(classId, objectId, autoUniqueContainmentName, reservationType, defineSecurityParentage, versionSeriesId);

Parameters

classId
Type: System..::.String
A String containing the identifier (GUID) or symbolic name of the class of object to be created.
objectId
Type: System..::.String
A String containing the identifier (GUID) of object to be created. If an ID is not specified, one is automatically generated.
autoUniqueContainmentName
Type: System..::.Nullable<(Of <(Boolean>)>)
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
Type: FileNet.Api.Constants..::.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
Type: System..::.Nullable<(Of <(Boolean>)>)
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
Type: System..::.String
Specifies the version series ID for the underlying object. This parameter only applies to versionable objects.

ToggleSee Also