tibasSpaceDef_SetKey()

Sets as primary key for the space the set of fields named in the comma-separated string passed as the argument.

Declaration

tibas_status tibasSpaceDef_SetKey(
    tibasSpaceDef spaceDef,
    const char* fieldNames)

Parameters

Parameter Description
spaceDef The TIBCO ActiveSpaces entity on which the function is invoked.
fieldNames The set of fields (as a comma-separated string) to be set as the primary key for the space.

Remarks

Use the tibasSpaceDef_SetKey() function to specify a primary key for a specified space.

Specify the primary key in the fieldNames parameter as a list of comma-separated field values.