Returns the specified list of workspace queries known to the database.
This method returns the pathnames of the public or personal queries defined in the Rational ClearQuest workspace. The querytype parameter lets you specify the type of queries to return. Specifying the constant OLEWKSPCSYSTEMQUERIES (1)returns only the public queries defined by the Rational ClearQuest administrator. Specifying the constant OLEWKSPCBOTHQUERIES (3)returns a list of all of the queries in the workspace (including those of all users).
To return only the queries defined by a particular user, you must first set the current user name by calling the SetUserName method. You can then call this method, specifying the constant OLEWKSPCUSERQUERIES (2) for the querytype parameter.
VBScript
workspace.GetQueryList querytype
Perl
$workspace->GetQueryList(querytype);
For Visual Basic, this value corresponds to one of the WorkspaceQueryType constants.
For Perl, a reference to an array of strings, each of which contains the pathname of a single query.