Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IArchives Interface / CloseCurrent Method
Name of the data store whose current file to close.



In This Topic
    CloseCurrent Method
    In This Topic
    Close the current archive. Normally a Historian server automatically closes the current archive when it becomes full. This method allows manual control over the amount of data in the current archive.
    Syntax
    'Declaration
     
    Sub CloseCurrent( _
       Optional ByVal datastoreName As String _
    ) 
    'Usage
     
    Dim instance As IArchives
    Dim datastoreName As String
     
    instance.CloseCurrent(datastoreName)
    void CloseCurrent( 
       string datastoreName
    )
    void CloseCurrent( 
       String^ datastoreName
    ) 

    Parameters

    datastoreName
    Name of the data store whose current file to close.
    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