Creates a new instance of the UpgradeAddOn class based on the specified parameters.


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

Syntax

Visual Basic (Declaration)
Public Shared Function CreateInstance( _ 
   ByVal domain As IDomain,  _ 
   ByVal id As Id _ 
) As IUpgradeAddOn
C#
public static IUpgradeAddOn CreateInstance(
   IDomain domain,
   Id id
)
C++
public:
 static IUpgradeAddOn CreateInstance(
   IDomain domain,
   Id id
)
J#
public static IUpgradeAddOn CreateInstance(
   IDomain domain,
   Id id
)
JScript
public static  function CreateInstance(
   domain : IDomain,
   id : Id
) : IUpgradeAddOn

Parameters

domain
The FileNet P8 domain to which the new instance is scoped.
id
The ID (GUID) assigned to the new class instance.

Return Value

An object reference to a new instance of this class.

See Also