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.

Remarque : This method became available in version 2002.05.00. In version 7.0.0.0 the limit on the number of records that can be stored increased so the range of DBIDs also increased. However, Rational ClearQuest clients earlier than version 7.0.0.0 cannot display records with database identifiers (DBIDs) higher than the former limit. For more information on DBIDs, see Utilisation d'enregistrements

Syntaxe

VBScript

workspace.RenameWorkspaceItemByDbId dbid, newName 

Perl

$workspace->RenameWorkspaceItemByDbId(dbid, newName); 
Identificateur
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.

Commentaires en retour