IResourceFileServiceUpdate Method

Updates the specified resource.

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

Parameters

resourceId
Type: SystemGuid
ID of the resource.
data
Type: System.IOStream
The data stream.
Exceptions
ExceptionCondition
ArgumentExceptionresourceId is Empty.
ArgumentNullExceptiondata is .
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