Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IArchives Interface / Add Method
A unique archive name.
Full path of the archive file.
Whether to create (true) or load an exisiting archive file (false).
Initial archive file size.
Name of the data store to add the file to.


Add Method (IArchives)
Add an archive to a Historian server. An archive may be newly created by the server or an existing, previously removed archive file.
Syntax
Sub Add( _
   ByVal archivename As System.String, _
   ByVal path As System.String, _
   ByVal create As System.Boolean, _
   ByVal filesizeInMB As System.UInteger, _
   Optional ByVal datastoreName As System.String _
) 

Parameters

archivename
A unique archive name.
path
Full path of the archive file.
create
Whether to create (true) or load an exisiting archive file (false).
filesizeInMB
Initial archive file size.
datastoreName
Name of the data store to add the file to.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also