Retrieves an instance of the IContentFederatingRepository class based on 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 className As String,  _ 
   ByVal id As Id _ 
) As IContentFederatingRepository
C#
public static IContentFederatingRepository GetInstance(
   IDomain domain,
   string className,
   Id id
)
C++
public:
 static IContentFederatingRepository GetInstance(
   IDomain domain,
   String className,
   Id id
)
J#
public static IContentFederatingRepository GetInstance(
   IDomain domain,
   string className,
   Id id
)
JScript
public static  function GetInstance(
   domain : IDomain,
   className : String,
   id : Id
) : IContentFederatingRepository

Parameters

domain
A IDomain object referencing the FileNet P8 domain in which this instance is scoped.
className
The name of the class.
id
An Id object referencing the GUID of this instance.

Return Value

A reference to an object of the requested type.

See Also