IResourceFileServiceGetViewThumbnail Method

Gets a stream providing the thumbnail image for the view, or if no thumbnail is available.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
Stream? GetViewThumbnail(
	Guid viewId
)

Parameters

viewId
Type: SystemGuid
The ID of the view to retrieve a thumbnail for.

Return Value

Type: Stream
A stream of the view's thumbnail image, or if the thumbnail cannot be retrieved.
Exceptions
ExceptionCondition
NoPrivilegeExceptionThe caller does not have Read privilege on the view.
NotFoundExceptionThe resource with the specified ID does not exist.
InvalidSessionExceptionThe caller context is not associated with a valid session.
ArgumentExceptionviewId is Empty.
Remarks
If the thumbnail cannot be retrieved because it has not been generated yet this will spawn a task to create the thumbnail before returning .
See Also