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

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

ToggleSyntax

Visual Basic (Declaration)
Public Shared Function CreateInstance ( _
	domain As IDomain, _
	id As Id _
) As IReplicationGroup
C#
public static IReplicationGroup CreateInstance(
	IDomain domain,
	Id id
)
Visual C++
public:
static IReplicationGroup^ CreateInstance(
	IDomain^ domain, 
	Id^ id
)
JavaScript
FileNet.Api.Core.ReplicationGroup.createInstance = function(domain, id);

Parameters

domain
Type: FileNet.Api.Core..::.IDomain
The FileNet P8 domain to which the new instance is scoped.
id
Type: FileNet.Api.Util..::.Id
The ID (GUID) assigned to the new class instance.

Return Value

An object reference to a new instance of this class.

ToggleSee Also