IFileSystemServiceCopyEntry Method (EntryCopyOptions, CopyResult) |
Namespace: Dundas.BI.FileSystem
IDictionary<Guid, Guid> CopyEntry( EntryCopyOptions options, out CopyResult copyResult )
Exception | Condition |
---|---|
ArgumentNullException | options is . |
ArgumentOutOfRangeException | NewName is longer than MaxNameLength. |
NotFoundException | The source or target entries were not found. |
DuplicateItemException | An entry with the specified name already exists in the target and both Overwrite and AutoGenerateName are . |
InvalidOperationException | Copying entries of the type corresponding to the source entry into entries of the type corresponding to the target entry is not supported (error code 2200). -or- The original entry is being copied as a subentry of an item which is not checked out to the caller. -or- The original entry is being copied to itself. -or- Recycled entries cannot be copied. |
NoPrivilegeException | The caller does not have the Read permission on one or more of the entries being copied. -or- The caller does not have permission to create items in the specified target entry. -or- Overwrite is , an entry with the same name already exists in the specified target, and the caller does not have the Delete privilege on the entry which needs to be overwritten (and/or one of its children). |
InvalidSessionException | The caller context is not associated with a valid session. |