as_DBMGetNumCategories
Description
ƯÁ¤ Å×ÀÌºí¿¡ ¼ÓÇÑ CategoryµéÀÇ ¼ö¸¦ ±¸ÇÑ´Ù.
Syntax
DBMErr as_DBMGetNumCategories(TableId tableId, P_S32 numCats);
Parameters
tableId
Å×À̺í ID
numCats
ÇØ´ç Å×ÀÌºí¿¡ ¼ÓÇÏ´Â CategoryµéÀÇ ¼ö
Returns
value
¼³¸í
DBM_OK
¼º°øÀûÀ¸·Î ¼öÇàµÈ °æ¿ì
DBM_INVALID_TABLE_ID
ÁÖ¾îÁø ID¸¦ °®´Â Å×À̺íÀÌ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì
DBM_DB_NOT_INITED
µ¥ÀÌŸº£À̽º°¡ ÃʱâȵǾî ÀÖÁö ¾ÊÀº °æ¿ì
Comments
virtual Category¸¦ Á¦¿ÜÇÑ CategoryµéÀÇ ¼ö¸¦ ¹Ýȯ
Example
// get tableId
S32 numCats;
ret = as_DBMGetNumCats(tableId, &numCats);
if (ret < DBM_OK)
// error handling