Devuelve una matriz de series, y cada una de ellas corresponde al nombre de uno de los tipos de registro sin estado del schema.
La matriz nunca está vacía; como mínimo, contiene los nombres de "usuarios", "grupos", "archivos de datos adjuntos" e "historial" que corresponden a los tipos de registro sin estado definidos por el sistema.
Una vez que tenga el nombre de un tipo de registro sin estado, puede recupera el objeto EntityDef para dicho tipo de registro llamando al método GetEntityDef.
VBScript
session.GetAuxEntityDefNames
Perl
$session->GetAuxEntityDefNames();
Para Perl, una referencia a una matriz de series.
VBScript
set sessionObj = GetSession
' Get the list of names for the stateless record types.
entityDefNames = sessionObj.GetAuxEntityDefNames
' Iterate over the non-system stateless record types
for each name in entityDefNames
if name <> "users" And name <> "groups" _
And name <> "attachments" And name <> "history" Then
set entityDefObj = sessionObj.GetEntityDef(name)
' Do something with the EntityDef object
End If
Next
Perl
$sessionObj = $entity->GetSession();
#Get an array containing the names of the stateless record
#types in the current database's schema.
$AuxEntityDefNames = $sessionObj->GetAuxEntityDefNames();
#Iterate over the state-based record types
foreach $name ( @$AuxEntityDefNames){
print $name, "\n";
$EntityDefObj = $sessionObj->GetEntityDef( $name);
# Do something with the EntityDef object
# ...
}