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.


In This Topic
    Add Method (IArchives)
    In This Topic
    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 _
    ) 
    void Add( 
       System.string archivename,
       System.string path,
       System.bool create,
       System.uint filesizeInMB,
       System.string datastoreName
    )
    void Add( 
       System.String^ archivename,
       System.String^ path,
       System.bool create,
       System.uint filesizeInMB,
       System.String^ datastoreName
    ) 

    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