A Sandcastle Documented Class Library

# IFileSystemService GetUnreferencedEntities Method

Gets the IDs of any entities in the specified project which are not referenced.

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

    ICollection<Guid> GetUnreferencedEntities(
    	Guid projectId
    )

    Function GetUnreferencedEntities (
    	projectId As Guid
    ) As ICollection(Of Guid)

    ICollection<Guid>^ GetUnreferencedEntities(
    	Guid projectId
    )

    abstract GetUnreferencedEntities :
            projectId : Guid -> ICollection<Guid>

#### Parameters

projectId
  Type: System
  Guid
  The ID of the project to scan.

#### Return Value

Type: ICollection
Guid
The IDs of any entities in the specified project which are not referenced.
Exceptions

Exception | Condition
--- | ---
ArgumentException | projectId is Empty.
InvalidOperationException | projectId does not correspond to a project.
NotFoundException | The specified project could not be found.
NoPrivilegeException | The caller does not have the Read privilege on the specified project.
InvalidSessionException | The caller context is not associated with a valid session.

Remarks

The search is limited to the following entity types:

- CubePerspective
- DataConnector
- DataCube
- Hierarchy
- MetricSet
- TimeDimension

Note
References to all revisions of an entity are considered.

See Also

#### Reference

IFileSystemService Interface
Dundas.BI.FileSystem Namespace