문자열 배열을 리턴합니다. 이 경우 각 문자열은 스키마 Stateless 레코드 유형 중 하나의 이름에 해당합니다.
배열은 비어 있을 수 없습니다. 최소한 시스템 정의된 Stateless 레코드 유형에 해당하는 이름 "users", "groups", "attachments" 및 "history"가 포함됩니다.
Stateless 레코드 유형의 이름을 알면 GetEntityDef 메소드를 호출하여 해당 레코드 유형에 대한 EntityDef Object를 검색할 수 있습니다.
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 # ... }