skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getFirstSchemaObject
 

dam_getFirstSchemaObject

This method is used to navigate through the items in the schema object list returned by the dam_getSchemaObjectList call. This method returns a schema object. It should be type cast to the type of objects contained in the list (schemaobj_table, schemaobj_column, schemaobj_stat or schemaobj_fkey).
object dam_getFirstSchemaObject(
int64 obj_list)
 
 
Table 143: Parameters for dam_getFirstSchemaObject 
Parameter
Type
Description
IN
 
 
obj_list
int64
The handle to the list of schema objects
RETURN
 
 
 
object
The .NET schema object in the list. 0 is returned at the end of the list.
For example, to retrieve an object from a list of DAMOBJ_TYPE_TABLE objects:
schemaobj_table pTable =
(schemaobj_table)ndam.dam_getFirstSchemaObject(obj_list)

See also

dam_getSchemaObjectList