Open this page in the API Guide

IFileSystemService.EntryExists Method (String, Guid)

Determines whether an entry with the specified name exists in the specified folder.

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

Parameters

name
Type: System.String
The name of the entry to check for existence.
parentId
Type: System.Guid
The ID of the parent entry.

Return Value

Type: Boolean
true if an entry with the specified name exists in the specified folder; otherwise false.
Exceptions
ExceptionCondition
ArgumentExceptionparentId is Empty; -or- name is null or empty.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also