SE_version_get_info_list

Retrieves an array of SE_VERSIONINFO structures for all accessible versions.

Usage syntax

LONG SE_version_get_info_list (SE_CONNECTION connection, const CHAR *where_clause, SE_VERSIONINFO **version_list, LONG *count);

Parameters
connection The connection handle
where_clause Applied to the SDE.VERSIONS table, a WHERE clause specifying values of desired version properties. (Don't include the word WHERE.) If NULL, all versions are returned.
version_list Address of a pointer in a dynamically allocated space that will contain an array of SE_VERSIONINFO structures
count The number of versions in the SE_VERSIONINFO list
Description

SE_version_get_info_list returns an array of SE_VERSIONINFO pointers that are defined. The total number of version structures is returned in the count parameter. The application must free the version_list to reclaim the memory allocated by this function.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_POINTER

SE_NET_FAILURE

SE_OUT_OF_CLMEM

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_TABLE_NOEXIST

Notes

•  The application must free the memory used by this call. See SE_version_free_info_list.