Open this page in the API Guide

IAppResourceService.StoreBuiltInResource Method

Stores the built-in resource.

Namespace:  Dundas.BI.AppResources
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
BuiltInResourceInfo StoreBuiltInResource(
	BuiltInResourceKind builtInResourceKind,
	Guid? tenantId,
	Stream inputStream
)

Parameters

builtInResourceKind
Type: Dundas.BI.AppResources.BuiltInResourceKind
Kind of the built-in resource.
tenantId
Type: System.Nullable<Guid>
The tenant identifier.
inputStream
Type: System.IO.Stream
The input stream.

Return Value

Type: BuiltInResourceInfo
The BuiltInResourceInfo of the stored resource.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionbuiltInResourceKind is not one of the BuiltInResourceKind values.
ArgumentExceptiontenantId is Empty.
ArgumentNullExceptioninputStream is null.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also