GetQueryDefByDbId

Description

Returns the QueryDef object associated with the specified workspace query. This method is the same as GetQueryDef, except the lookup is by DBID.

Remarque : You must call SetSession on the Workspace object before calling GetQueryDef, if you have not created a Session object.
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.GetQueryDefByDbId dbid 

Perl

$workspace->GetQueryDefByDbId(dbid); 
Identificateur
Description
workspace
The Workspace object obtained from the current session.
dbid
A Long containing the DBID of the query.
Valeur de retour
Returns a reference to the QueryDef object associated with the query.

Feedback