IExtensionServiceGetExtensionPackage Method

Gets the extension package.

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

Parameters

extensionPackageId
Type: SystemGuid
The extension package identifier.
throwOnNotFound
Type: SystemBoolean
Throws NotFoundException if extension is not found and parameter is set to , otherwise returns .

Return Value

Type: 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