Open this page in the API Guide

IFileSystemService.GetFile Method (String, Guid)

Gets a File specified by its name and parent folder.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
File GetFile(
	string name,
	Guid parentId
)

Parameters

name
Type: System.String
The name of the folder to get.
parentId
Type: System.Guid
The ID of the parent entry.

Return Value

Type: File
The file with the specified name in the specified parent folder.
Exceptions
ExceptionCondition
ArgumentExceptionparentId is Empty; -or- name is null or empty.
NotFoundException The file does not exist, or optionsSkipRecycled is specified and file is recycled.
NoPrivilegeExceptionThe caller does not have permission to access the file.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also