IProjectServicePublishProjects Method

Publish the contents of source projects to target projects.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
PublishResult PublishProjects(
	IDictionary<Guid, Guid> projectIdMapping,
	PublishOptions publishOptions
)

Parameters

projectIdMapping
Type: System.Collections.GenericIDictionaryGuid, Guid
A collection of key value pairs having the source project IDs as keys and target project IDs as values.
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 .
ArgumentExceptionprojectIdMapping is or empty.
NotFoundExceptionprojectIdMapping references any project which does not exist.
InvalidOperationExceptionA project is selected as a source project and as a target project.
QuotaExceededExceptionPublishing the project would cause one of the object quotas to be exceeded.
NoPrivilegeException The caller does not have the Write and ListFolderContents privileges on the source and target projects.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also