Restituisce i nomi dei tipi di record adatti all'utilizzo nelle query.
È possibile utilizzare uno qualsiasi dei nomi restituiti da questo metodo nel parametro entitydef_name per il metodo BuildQuery. (È inoltre possibile richiamare un oggetto EntityDef richiamando il metodo GetEntityDef.)
VBScript
session.GetQueryEntityDefNames
Perl
$session->GetQueryEntityDefNames();
Per Perl, viene restituito un riferimento ad un array di stringhe.
VBScript
set sessionObj = GetSession ' Get the list of names of the record types that support queries. entityDefNames = sessionObj.GetQueryEntityDefNames ' Iterate over all record types for each name in entityDefNames set queryDefObj = sessionObj.BuildQuery(name) ' Fill in the query parameters and run it Next
Perl
$sessionObj = $entity->GetSession(); # Get the list of names of the record types that support queries. $entityDefNames = $sessionObj->GetQueryEntityDefNames(); #Iterate over the state-based record types foreach $name ( @$entityDefNames ){ $queryDefObj = $sessionObj->BuildQuery( $name ); #Fill in the query parameters and run it # ... }