A Sandcastle Documented Class Library

# IProjectService GetPublishTargetsWithHistory Method

Gets all the publish target project IDs of the specified source entry IDs.

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

    IDictionary<Guid, ICollection<Guid>> GetPublishTargetsWithHistory(
    	ICollection<Guid> sourceEntryIds
    )

    Function GetPublishTargetsWithHistory (
    	sourceEntryIds As ICollection(Of Guid)
    ) As IDictionary(Of Guid, ICollection(Of Guid))

    IDictionary<Guid, ICollection<Guid>^>^ GetPublishTargetsWithHistory(
    	ICollection<Guid>^ sourceEntryIds
    )

    abstract GetPublishTargetsWithHistory :
            sourceEntryIds : ICollection<Guid> -> IDictionary<Guid, ICollection<Guid>>

#### Parameters

sourceEntryIds
  Type: System.Collections.Generic
  ICollection
  Guid
  The IDs of the source entries.

#### Return Value

Type: IDictionary
Guid, ICollection
Guid
A dictionary contains the source entry ID as the key and collection of all the target project IDs as the value. If the target project cannot be found, the value will not be added.
Exceptions

Exception | Condition
--- | ---
ArgumentException | sourceEntryIds is or empty.
NoPrivilegeException | The caller does not have the Read privilege on the entry specified in sourceEntryIds.
InvalidSessionException | The caller context is not associated with a valid session.

Remarks
The result keys exclude any source entity that has never been published into any project. The result values excludes any target project which the caller do not have the privilege to read.
See Also

#### Reference

IProjectService Interface
Dundas.BI.FileSystem Namespace