| SE_version_get_locks |
Retrieves all locks associated with a version.
LONG SE_version_get_locks (SE_CONNECTION connection, const CHAR *version_name, LONG *num_locks, SE_VERSION_LOCK **locks);
| connection | The connection handle |
| version_name | The version name |
| num_locks | The number of locks |
| locks | The list of locks |
SE_version_get_locks returns the list of locks on a version. The lock information is returned in a list of SE_VERSION_LOCK structures.
SE_SUCCESS
SE_DB_IO_ERROR
SE_INVALID_CONNECTION
SE_NET_FAILURE
SE_NO_PERMISSIONS
SE_SDE_NOT_STARTED
SE_STREAM_IN_PROGRESS
SE_VERSION_NOEXIST