WorkspaceItemType 定数に列挙された、ワークスペース アイテムのタイプを戻します。
VBScript
workspace.GetWorkspaceItemType dbid
Perl
$workspace->GetWorkspaceItemType(dbid);