Description
Inserts
a new query into the workspace, under the workspace folder specified by parent
DBID.
Remarque : This method became available in version 2002.05.00.
Syntaxe
VBScript
workspace.InsertNewQueryDef newName, parent_dbid, QueryDefObj
Perl
$workspace->InsertNewQueryDef(newName, parent_dbid, QueryDefObj);
- Identificateur
- Description
- workspace
- The Workspace object obtained from the current session.
- newName
- A String containing the name you want to give to the new
query.
- parent_dbid
- A Long containing the DBID of the parent workspace
folder from which to insert the new query.
- QueryDefObj
- A reference to the new QueryDef object.
- Return value
- Returns the dbid of the new query.