A Sandcastle Documented Class Library

# IFileSystemService GetEntry Method (String, Guid)

Gets a FileSystemEntry 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    FileSystemEntry GetEntry(
    	string name,
    	Guid parentId
    )

    Function GetEntry (
    	name As String,
    	parentId As Guid
    ) As FileSystemEntry

    FileSystemEntry^ GetEntry(
    	String^ name,
    	Guid parentId
    )

    abstract GetEntry :
            name : string *
            parentId : Guid -> FileSystemEntry

#### 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: FileSystemEntry
The entry with the specified name in the specified parent entry.
Exceptions

Exception | Condition
--- | ---
ArgumentException | parentId is Empty; -or- name is or empty.
NotFoundException | The entry does not exist, or options SkipRecycled is specified and entry is recycled.
NoPrivilegeException | The caller does not have permission to access the entry.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IFileSystemService Interface
GetEntry Overload
Dundas.BI.FileSystem Namespace