Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IDataStores Interface / Add Method
Name of the data store
Whether this data store is the default store (to be used as default data store for tags adds, and archive related operations)
Description of the data store
Type of the data store



In This Topic
    Add Method (IDataStores)
    In This Topic
    Add a data store to a Historian server.
    Syntax
    'Declaration
     
    Sub Add( _
       ByVal dataStoreName As String, _
       ByVal isDefault As Boolean, _
       ByVal description As String, _
       ByVal storageType As DataStore.DataStorageType _
    ) 
    'Usage
     
    Dim instance As IDataStores
    Dim dataStoreName As String
    Dim isDefault As Boolean
    Dim description As String
    Dim storageType As DataStore.DataStorageType
     
    instance.Add(dataStoreName, isDefault, description, storageType)

    Parameters

    dataStoreName
    Name of the data store
    isDefault
    Whether this data store is the default store (to be used as default data store for tags adds, and archive related operations)
    description
    Description of the data store
    storageType
    Type of the data store
    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