tibasSpaceDef_GetKeyDef()

Gets the primary key definition for a specified space, including the field names and all associated attributes.

Declaration

tibas_status tibasSpaceDef_GetKeyDef(
    tibasSpaceDef spaceDef,
    tibasKeyDef*  keyDef)

Parameters

Parameter Description
spaceDef Specifies the SpaceDef for the space.
keyDef Returns the key definition for the space.

Remarks

Use the tibasSpaceDef_GetKeyDef() function to return the key definition in effect for a specified space.