Returns zero or more class descriptions for a given scope and the classes specified by
a class identities array, which can contain both class names and GUID strings. Class
descriptions not already resident are fetched from the server and added to the metadata
cache. If a failure occurs while fetching a class description, the entire operation will
fail. The returned array is the same size and in the same order as the class identities
array; it is never null and its members are always valid class descriptions.
Potentially, this operation is much more efficient than retrieving individual class
descriptions because any non-resident class descriptions are fetched from the server
in a single batch operation.
Namespace:
FileNet.Api.Meta
Assembly:
FileNet.Api (in FileNet.Api.dll)
JavaScript |
---|
function getClassDescriptions(scope, classIdents); |
Parameters
- scope
- Type: FileNet.Api.Core..::.IInstantiatingScope
An InstantiatingScope object specifying the scope of the
class descriptions.
- classIdents
- Type: array<
System..::.String
>[]()[]
A String array specifying the class names or GUID
strings of the class descriptions.
Return Value
An array of
ClassDescription objects.