현재 데이터베이스 스키마의 State-based 레코드 유형 이름을 리턴합니다.
State-based 레코드 유형은 State-based 레코드용 템플리트입니다. 대부분의 데이터베이스에는 데이터베이스에 의해 저장되는 데이터의 유형을 정의하는 State-based 레코드 유형이 최소 한 개는 있습니다. 데이터베이스에는 보조 정보가 포함된 여러 개의 지원 Stateless 레코드 유형이 있을 수도 있습니다.
일반적으로 리턴값에는 최소 하나의 이름이 포함됩니다. 하지만 스키마에 State-based 레코드 유형이 없는 경우 리턴값이 빈 Variant일 수 있습니다.
이 메소드를 사용하여 이름의 목록을 가져온 뒤에는 GetEntityDef 메소드를 호출하여 해당 레코드 유형에 대한 EntityDef 오브젝트를 검색할 수 있습니다.
VBScript
session.GetReqEntityDefNames
Perl
$sessionObj->GetReqEntityDefNames();
Perl의 경우 문자열 배열에 대한 참조가 리턴됩니다.
VBScript
set sessionObj = GetSession
' Get the list of names of the state-based record types.
entityDefNames = sessionObj.GetReqEntityDefNames
' Iterate over the state-based record types
for each name in entityDefNames
set entityDefObj = sessionObj.GetEntityDef(name)
' Do something with the EntityDef object
Next
Perl
$sessionObj = $entity->GetSession();
#Get the names of the state-based record types.
$entityDefNames = $sessionObj->GetReqEntityDefNames();
#Iterate over the state-based record types
foreach $name ( @$entityDefNames){
print $name, "\n";
$entityDefObj = $session->GetEntityDef( $name);
# Do something with the EntityDef object
# ...
}