IResourceFileServiceGetData Method

Gets a stream for reading the contents of the specified stored resource.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
Stream GetData(
	Guid resourceId
)

Parameters

resourceId
Type: SystemGuid
The ID of the resource.

Return Value

Type: Stream
A stream for reading the contents of the specified stored resource.
Exceptions
ExceptionCondition
ArgumentExceptionresourceId is Empty.
InvalidOperationExceptionresourceId corresponds to an entry which is not a resource.
NotFoundExceptionThe resource with the specified ID does not exist.
NoPrivilegeExceptionThe caller does not have the Read privilege on the resource.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
Caution note Caution
The stream returned by this method must be disposed before any further database access occurs on the calling thread.
See Also