Creates a new instance of the
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
DynamicReferentialContainmentRelationship
class, to be persisted in the specified object store, based on the AutoUniqueName
and DefineSecurityParentage
and class name settings. The created object does not yet exist in an object store. To persist the created object to the object store, you must explicitly call the save method, or commit the object via a batch operation. Both approaches cause a round-trip to the server.
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function CreateInstance( _ ByVal os As IObjectStore, _ ByVal classId As String, _ ByVal uniqueName As AutoUniqueName, _ ByVal defineSecurityParentage As DefineSecurityParentage _ ) As IDynamicReferentialContainmentRelationship |
C# |
---|
public static IDynamicReferentialContainmentRelationship CreateInstance( IObjectStore os, string classId, AutoUniqueName uniqueName, DefineSecurityParentage defineSecurityParentage ) |
C++ |
---|
public: static IDynamicReferentialContainmentRelationship CreateInstance( IObjectStore os, String classId, AutoUniqueName uniqueName, DefineSecurityParentage defineSecurityParentage ) |
J# |
---|
public static IDynamicReferentialContainmentRelationship CreateInstance( IObjectStore os, string classId, AutoUniqueName uniqueName, DefineSecurityParentage defineSecurityParentage ) |
JScript |
---|
public static
function CreateInstance( os : IObjectStore, classId : String, uniqueName : AutoUniqueName, defineSecurityParentage : DefineSecurityParentage ) : IDynamicReferentialContainmentRelationship |
Parameters
- os
- The
object for the object store in which this class instance is to be located.ObjectStore
- classId
- uniqueName
- An
constant object indicating whether to detect and resolve naming collisions of containment names.AutoUniqueName
- defineSecurityParentage
- A
constant object indicating whether theDefineSecurityParentage
property of the referenced containee (theSecurityFolder
property) is automatically set to the referenced container (theHead
property).Tail
Return Value
An object reference to a new instance of this class.