RenameWorkspaceItemByDbId
Description
Renames a workspace item with a new name and returns Boolean True if successful and otherwise returns False. This method is the same as RenameWorkspaceItem except lookup is by workspace item DBID rather than name.
Syntax
VBScript
workspace.RenameWorkspaceItemByDbId
dbid, newName
Perl
$workspace->RenameWorkspaceItemByDbId
(dbid, newName);
- Identifier
- Description
- workspace
- The Workspace object obtained from the current session.
- dbid
- A Long containing the existing DBID of a workspace item.
- newName
- A String containing the new name of the workspace item.
- Return value
- Returns Boolean True if successful; False if failed.