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 (9.0.0.1000)
SyntaxStream GetData(
Guid resourceId
)
Function GetData (
resourceId As Guid
) As Stream
Stream^ GetData(
Guid resourceId
)
abstract GetData :
resourceId : Guid -> Stream
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| Exception | Condition |
|---|
| ArgumentException | resourceId is Empty. |
| InvalidOperationException | resourceId corresponds to an entry which is not a resource. |
| NotFoundException | The resource with the specified ID does not exist. |
| NoPrivilegeException | The caller does not have the Read privilege on the resource. |
| InvalidSessionException | The caller context is not associated with a valid session. |
Remarks Caution |
|---|
|
The stream returned by this method must be disposed before any further database access occurs on the calling thread.
|
See Also