IResourceFileServiceGetFileOnDisk Method |
Gets the path to an on-disk location for the resource.
Namespace:
Dundas.BI.FileSystem
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax string GetFileOnDisk(
Guid resourceId
)
Function GetFileOnDisk (
resourceId As Guid
) As String
String^ GetFileOnDisk(
Guid resourceId
)
abstract GetFileOnDisk :
resourceId : Guid -> string
Parameters
- resourceId
- Type: SystemGuid
The ID of the resource.
Return Value
Type:
String
The path to an on-disk location for the resource.
Exceptions Remarks
The contents of resources are stored in either the application database or the data warehouse database, depending
on the type of resource. Occasionally, code which needs to use the resource requires it to be a file on the physical
disk rather than a byte stream. This method facilitates this scenario by automatically reading the bytes from the
appropriate database and creating a physical file from the byte stream. The path to the file is returned.
See Also