IExtensionServiceActivateComponent Method

Activates the component of the specified type.

Namespace:  Dundas.BI.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
Object? ActivateComponent(
	Type type,
	params Object[] args
)

Parameters

type
Type: SystemType
The type to activate.
args
Type: SystemObject
The arguments required by the type's constructor.

Return Value

Type: Object
A new instance of the specified type, or if there was an error.
Exceptions
ExceptionCondition
ArgumentNullExceptiontype was .
Remarks
If type inherits from ComponentBase and is part of an extension package, the PackageId property will be automatically set by this method.
See Also