All Frameworks  Class Hierarchy  This Framework  Indexes

PSNInteroperability Global Function CATSimpleQueryToVPM


HRESULT CATSimpleQueryToVPM(CATUnicodeString iEnv,
CATUnicodeString iTable,
CATUnicodeString istring,
CATListOfCATUnicodeString& oListOfName,
CATListOfCATUnicodeString& oListOfCoid,
CATListOfCATUnicodeString& oListOfCompid,
CATListOfCATUnicodeString& oListOfCaenv,
CATListOfCATUnicodeString& oListOfCatab)
Simple query on the specified table in the specified environment
Role:This method does a simple query to the ENOVIAVpm V4 for a specified search string in the specified table and environment

If needed, your Imakefile.mk should include the module: CATPinServices

Parameters:
iEnv
The environment to search in
For instance "VPMENV "
iTable
the name of the table to search in
For instance "DOCUMENT "
istring
the string criteria for search
oListOfName
Output parameter consisting of list of PDMName matching the string criteria
oListOfCoid
Output parameter consisting of list of coid corresponding to the names searched
oListOfCompid
Output parameter consisting of list of compid corresponding to the names searched
oListOfCaenv
Output parameter consisting of list of environment name corresponding to the names searched
oListOfCatab
Output parameter consisting of list of table name corresponding to the names searched
Returns:
  • S_OK: Search successful
  • E_FAIL: Error in the search criteria specified

This object is included in the file: CATBatchServices.h

Copyright © 2003, Dassault Systèmes. All rights reserved.