文字列の配列を戻します。各文字列は、いずれかのスキーマ 状態なしレコード タイプの名前に対応します。
配列は空になることはありません。少なくとも、システム定義の状態なしレコード タイプに対応した名前の「users」、「groups」、「attachments」、「history」が含まれます。
状態なしレコード タイプの名前を一度設定すると、GetEntityDef メソッドを呼び出して、そのレコード タイプの EntityDef オブジェクトを取得できます。
VBScript
session.GetAuxEntityDefNames
Perl
$session->GetAuxEntityDefNames();
Perl の場合は、文字列の配列への参照。
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
# ...
}