IExtensionServiceInstallExtensionPackage Method

Installs the extension package.

Namespace:  Dundas.BI.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
ExtensionManifest InstallExtensionPackage(
	Stream extensionPackageStream
)

Parameters

extensionPackageStream
Type: System.IOStream
The extension package stream.

Return Value

Type: ExtensionManifest
ExtensionManifest of the installed extension package.
Exceptions
ExceptionCondition
ArgumentNullExceptionextensionPackageStream is .
NotFoundExceptionManifest is not found in the extension package stream.
ValidationException

One or more properties of the manifest are invalid.

-or-

Extension package archive contains folders other than the extension folder.

-or-

Manifest is not in the extension folder.

InvalidOperationException

New extension package version is lower than the version of the installed extension package.

-or-

A protected extension with the same ID is already installed.

NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also