IProjectServicePublishItems Method

Publish the selected items to a target project.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
PublishResult PublishItems(
	Guid targetProjectId,
	ICollection<Guid> itemIds,
	PublishOptions publishOptions
)

Parameters

targetProjectId
Type: SystemGuid
The ID of the publish target project.
itemIds
Type: System.Collections.GenericICollectionGuid
The IDs of the publishing items.
publishOptions
Type: Dundas.BI.FileSystemPublishOptions
Options affecting the behavior of the publish operation.

Return Value

Type: PublishResult
The result of the publish operation.
Exceptions
ExceptionCondition
ArgumentNullExceptionpublishOptions is .
ArgumentException

itemIds is or empty.

-or-

targetProjectId is Empty.

NotFoundException

targetProjectId references a project which does not exist.

-or-

At least one item specified by itemIds does not exist.

InvalidOperationException

The items being published do not belong to the same project.

-or-

At least one item specified by itemIds is a project.

-or-

At least one item specified by itemIds is not part of a project.

QuotaExceededExceptionPublishing the items would cause one of the object quotas to be exceeded.
NoPrivilegeException The caller does not have the Write and ListFolderContents privileges on the target project or the project to which the items being published belong.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also