Open this page in the API Guide

IResourceFileService.Update Method

Updates the specified resource.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void Update(
	Guid resourceId,
	Stream data
)

Parameters

resourceId
Type: System.Guid
ID of the resource.
data
Type: System.IO.Stream
The data stream.
Exceptions
ExceptionCondition
ArgumentExceptionresourceId is Empty.
ArgumentNullExceptiondata is null.
InvalidOperationExceptionresourceId corresponds to an entry which is not a resource.
NotFoundExceptionThe resource with the specified ID does not exist.
InvalidOperationExceptionThe size of the data exceeds the limit set by the MaxResourceFileSize configuration setting.
NoPrivilegeExceptionThe caller does not have the Write privilege on the resource.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also