|
The mi_collection_close() function closes a collection and frees the collection descriptor.
| conn | is a pointer to the connection descriptor that a previous call to mi_open(), mi_server_connect(), or mi_server_reconnect() established. |
| coll_desc | is a pointer to the collection descriptor. |
The mi_collection_close() function closes the collection that the coll_desc collection descriptor identifies. This function is the destructor function for the collection descriptor. This collection was opened by a previous call to mi_collection_open().
| MI_OK | indicates that the function was successful. |
| MI_ERROR | indicates that the function was not successful. |
See the descriptions of the following functions: mi_collection_copy(), mi_collection_create(), mi_collection_delete(), mi_collection_fetch(), mi_collection_free(), mi_collection_insert(), mi_collection_open(), and mi_collection_update().
For a description of collections, see Collections.