The handle pair that describes the add-in data storage
library module to be used to perform this function and the open
data store in which to insert the new relation record. The database
should be opened in administrative mode using the CSSM_DB_ACCESS_PRIVILEGED
flag.
RelationID (input)
Indicates the type of relation record being added
to the data store.
RelationName (input)
Indicates the name of the relation being added to
the data store.
NumberOfAttributes (input)
Indicates the number of attributes specified in pAttributeInfo.
pAttributeInfo (input)
A list of structures containing the meta information
(schema) describing the attributes for the relation being added
to the specified data store. The list contains at most one entry
per attribute in the specified record type.
NumberOfIndexes (input)
Indicates the number of indexes specified in pIndexInfo.
pIndexInfo (input)
A list of structures containing the meta information
(schema) describing the indexes for the relation being added to
the specified data store. The list contains at most one entry per index
in the specified record type.
DESCRIPTIONThis function creates a new persistent relation of the specified
type by inserting it into the specified data store. The pAttributeInfo and pIndexInfo specify
the values contained in the new relation record. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particular
error condition. The value CSSM_OK indicates success. All other
values represent an error condition. ERRORSErrors are described in the CDSA Technical Standard.