IFileSystemServiceRenameEntry Method

Renames the entry with the specified ID.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
void RenameEntry(
	Guid entryId,
	string newName
)

Parameters

entryId
Type: SystemGuid
The ID of the entry.
newName
Type: SystemString
The new name of the entry.
Exceptions
ExceptionCondition
ArgumentException

entryId is Empty.

-or-

newName is , empty, only consists of whitespace, or contains invalid characters.

ArgumentOutOfRangeExceptionnewName is longer than MaxNameLength.
NotFoundExceptionThe entry specified by entryId does not exist.
DuplicateItemExceptionAn entry with the specified new name already exists in the parent.
InvalidOperationException

entryId corresponds to a type of entry which may not be renamed.

-or-

entryId is recycled and cannot be renamed.

NoPrivilegeExceptionThe caller does not have permission to rename the file.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
If a transient entry is being renamed, and it's not a subentry, the entry will no longer be transient after being renamed.
See Also