IExtensionServiceGetExtensionPackage Method

Gets the extension package.

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

Parameters

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

Return Value

Stream
The extension package as a Stream or 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