Retrieves an instance of the ObjectStore class by the specified domain and ID. This method does not verify the existence of the requested object on the server; it simply returns a local reference without making a round-trip to the server. The local reference is not affiliated with an object of this class type until you perform a function on the object (for example, fetch a property value) that causes a round-trip to the Content Engine server.


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

Syntax

Visual Basic (Declaration)
Public Shared Function GetInstance( _ 
   ByVal domain As IDomain,  _ 
   ByVal name As String _ 
) As IObjectStore
C#
public static IObjectStore GetInstance(
   IDomain domain,
   string name
)
C++
public:
 static IObjectStore GetInstance(
   IDomain domain,
   String name
)
J#
public static IObjectStore GetInstance(
   IDomain domain,
   string name
)
JScript
public static  function GetInstance(
   domain : IDomain,
   name : String
) : IObjectStore

Parameters

domain
The FileNet P8 domain for which this instance is scoped.
name
The symbolic name of the class instance to retrieve.

Return Value

A reference to an ObjectStore object.

See Also