Description
Returns
the QueryDef object associated with the specified workspace query. This method
is the same as GetQueryDef, except the lookup is by DBID.
Note: You must call SetSession on the Workspace object before calling
GetQueryDef, if you have not created a Session object.
Note: 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
Working with records
Syntax
VBScript
workspace.GetQueryDefByDbId dbid
Perl
$workspace->GetQueryDefByDbId(dbid);
- Identifier
- Description
- workspace
- The Workspace object obtained from the current session.
- dbid
- A Long containing the DBID of the query.
- Return value
- Returns a reference to the QueryDef object associated with
the query.