IFileSystemServiceGetFile Method (String, Guid, GetEntryOptions)

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,
	GetEntryOptions options
)

Parameters

name
Type: SystemString
The name of the folder to get.
parentId
Type: SystemGuid
The ID of the parent entry.
options
Type: Dundas.BI.FileSystemGetEntryOptions
Options affecting the behavior of the operation.

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