IFileSystemServiceGetFile 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 (24.3.0.1000)
Syntax
File GetFile(
	string name,
	Guid parentId
)

Parameters

name
Type: SystemString
The name of the folder to get.
parentId
Type: SystemGuid
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 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