Defines the originating "scope" (enclosing context) of an object, such as the Domain of a Site or ObjectStore, or the ObjectStore of a Document.

Classes are generally characterized by where the instance objects reside. Some objects reside within an ObjectStore; other objects reside "above" an ObjectStore, that is, at a higher-level in the object model. The ClassDescription describes objects that reside somewhere. So, a ClassDescription is scoped to a particular location, and the object affiliated with that location is the scope object. Calling ClassDescription.GetScope() returns one of the following, depending on what type of class the ClassDescription describes:

  • Domain
  • ObjectStore
  • Null (for the cases of Realm, EntireNetwork)

The following table lists scope objects and the objects scoped to them:

Scope ObjectTypes of Scoped Objects
EntireNetworkEntireNetwork, Domain, Realm
RealmUser, Group
DomainObjectStore, MarkingSet, Site, VirtualServer, ServerInstance
ObjectStoreIndependentRepositoryObject types, ClassDescription

EntireNetwork, being the root of the hierarchy, scopes itself, and is also the scope object for Domain and Realm. The scope object for a ClassDescription object is the same as the scope object for an instance described by that ClassDescription. For example, if a CustomObject object is scoped by an ObjectStore instance "OS1", then the custom object's ClassDescription will also be scoped by "OS1".

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

ToggleSyntax

Visual Basic (Declaration)
Public Interface IScope
C#
public interface IScope
Visual C++
public interface class IScope
JavaScript
FileNet.Api.Core.IScope = function();
FileNet.Api.Core.IScope.createInterface('FileNet.Api.Core.IScope');

ToggleSee Also