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 (10.0.0.1002)
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.
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