Devuelve una matriz que contiene los nombres de los tipos de registro del schema de la base de datos actual.
Este método devuelve los nombres de todos los tipos de registro sin estado y basados en estado.
Después de utilizar este método para obtener la lista de nombres, puede recuperar el objeto EntityDef para un tipo de registro determinado llamando al método GetEntityDef.
VBScript
session.GetEntityDefNames
Perl
$session->GetEntityDefNames();
VBScript
set sessionObj = GetSession
' Get the list of names of all record types.
entityDefNames = sessionObj.GetEntityDefNames
' Iterate over all the record types
for each name in entityDefNames
set entityDefObj = sessionObj.GetEntityDef(name)
' Do something with the EntityDef object
Next
Perl
#Create a Rational ClearQuest session
$sessionObj = $entity->GetSession();
#Get the names of the record types in the
# current database's schema.
$entityDefNames = $sessionObj->GetEntityDefNames();
#Iterate over the record types
foreach $name ( @$entityDefNames )
{
$entityDefObj = $sessionObj->GetEntityDef( $name );
#Do something with the EntityDef object
}