Retrieves the instance of the subclassable IWorkflowDefinition class as specified by a path and an object store. 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 os As IObjectStore,  _ 
   ByVal className As String,  _ 
   ByVal path As String _ 
) As IWorkflowDefinition
C#
public static IWorkflowDefinition GetInstance(
   IObjectStore os,
   string className,
   string path
)
C++
public:
 static IWorkflowDefinition GetInstance(
   IObjectStore os,
   String className,
   String path
)
J#
public static IWorkflowDefinition GetInstance(
   IObjectStore os,
   string className,
   string path
)
JScript
public static  function GetInstance(
   os : IObjectStore,
   className : String,
   path : String
) : IWorkflowDefinition

Parameters

os
The IObjectStore object in which this class instance is located.
className
The type of class of the object to retrieve, which can be specified as the class name constant or the symbolic name for the class.
path
The path of the object to retrieve.

Return Value

An object of the requested type.

See Also