SE_archive_create

Creates an archive

Usage syntax

SE_archive_create (SE_CONNECTION handle, const SE_ARCHIVEINFO archive)

Parameters
handle The ArcSDE connection handle.
archive Info used to create the archive
Description

This function creates an archive based on the information in the SE_ARCHIVEINFO. This means creating the history table, populating it, registering it, and creating any required side tables such as those used for layers or xml. The archive itself is also registered in the sde_archives table.

Returns

SE_SUCCESS
SE_INVALID_PARAM_VALUE
SE_INVALID_POINTER
SE_INVALID_ARCHIVE_OBJECT
SE_SDE_NOT_STARTED