IResourceFileServiceGetFileOnDisk Method |
Gets the path to an on-disk location for the resource.
Namespace: Dundas.BI.FileSystemAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxstring GetFileOnDisk(
Guid resourceId
)
Function GetFileOnDisk (
resourceId As Guid
) As String
String^ GetFileOnDisk(
Guid resourceId
)
abstract GetFileOnDisk :
resourceId : Guid -> string Parameters
- resourceId Guid
- The ID of the resource.
Return Value
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