Generates an ID that has a time- and counter-based portion that is combined with a random portion in such a way that consecutively created IDs are sequential (monotonic) per the natural ordering applied by the underlying database.

Namespace:  FileNet.Api.Util
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Shared Function CreateSequentialId ( _
	dbType As DatabaseType _
) As Id
C#
public static Id CreateSequentialId(
	DatabaseType dbType
)
Visual C++
public:
static Id^ CreateSequentialId(
	DatabaseType dbType
)
JavaScript
FileNet.Api.Util.Id.createSequentialId = function(dbType);

Parameters

dbType
Type: FileNet.Api.Constants..::.DatabaseType
A DatabaseType object that specifies the type of database.

Return Value

An Id object.

ToggleSee Also