C# Class openHistorian.Net.HistorianServerDatabaseConfig

Creates a configuration for the database to utilize.
Inheritance: IToServerDatabaseSettings
Mostra file Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

Method Description
HistorianServerDatabaseConfig ( string databaseName, string mainPath, bool supportsWriting ) : System

Gets a database config.

ToServerDatabaseSettings ( ) : ServerDatabaseSettings

Creates a ServerDatabaseSettings configuration that can be used for SnapServerDatabase{TKey,TValue}

Method Details

HistorianServerDatabaseConfig() public method

Gets a database config.
public HistorianServerDatabaseConfig ( string databaseName, string mainPath, bool supportsWriting ) : System
databaseName string
mainPath string
supportsWriting bool
return System

ToServerDatabaseSettings() public method

Creates a ServerDatabaseSettings configuration that can be used for SnapServerDatabase{TKey,TValue}
public ToServerDatabaseSettings ( ) : ServerDatabaseSettings
return ServerDatabaseSettings