IAppResourceServiceStoreStaticResource Method

Stores the static resource.

Namespace:  Dundas.BI.AppResources
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
StaticResourceInfo StoreStaticResource(
	StaticResourceInfo staticResourceInfo,
	Stream inputStream
)

Parameters

staticResourceInfo
Type: Dundas.BI.AppResourcesStaticResourceInfo
The static resource information.
inputStream
Type: System.IOStream
The input stream.

Return Value

Type: StaticResourceInfo
The StaticResourceInfo of the stored resource.
Exceptions
ExceptionCondition
ArgumentNullException

staticResourceInfo is .

-or-

inputStream is .

DuplicateItemExceptionAnother static resource with the same name but different ID already exists.
InvalidOperationExceptionData exceeds the maximum configured static resource size.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also