IProjectServicePublishItems Method |
Namespace: Dundas.BI.FileSystem
PublishResult PublishItems( Guid targetProjectId, ICollection<Guid> itemIds, PublishOptions publishOptions )
Exception | Condition |
---|---|
ArgumentNullException | publishOptions 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. |
QuotaExceededException | Publishing 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. |
InvalidSessionException | The caller context is not associated with a valid session. |