Open this page in the API Guide

IExtensionService.GetExtensionPackage Method

Gets the extension package.

Namespace:  Dundas.BI.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
Stream? GetExtensionPackage(
	Guid extensionPackageId,
	bool throwOnNotFound
)

Parameters

extensionPackageId
Type: System.Guid
The extension package identifier.
throwOnNotFound
Type: System.Boolean
Throws NotFoundException if extension is not found and parameter is set to true, otherwise returns null.

Return Value

Type: Stream
The extension package as a Stream or null if not found.
Exceptions
ExceptionCondition
ArgumentExceptionextensionPackageId is Empty.
NotFoundExceptionThe extension package resource is not found.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also