Gemstone Timeseries Library
Show/Hide TOC

# MeasurementKeyEstablishDefaultCache Method

Establish default MeasurementKey cache.

## Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.173 -- Release Build+98db269125537782905bfaaa87acec3cc1ea821a
C#
View Source Request Example

    public static void EstablishDefaultCache(
    	DbConnection connection,
    	string measurementTable = "ActiveMeasurement"
    )

VB
View Source Request Example

    Public Shared Sub EstablishDefaultCache (
    	connection As DbConnection,
    	Optional measurementTable As String = "ActiveMeasurement"
    )

C++
View Source Request Example

    public:
    static void EstablishDefaultCache(
    	DbConnection^ connection,
    	String^ measurementTable = L"ActiveMeasurement"
    )

JavaScript
View Source Request Example

    Gemstone.Timeseries.MeasurementKey.EstablishDefaultCache = function(connection, measurementTable);

#### Parameters

connection DbConnection
  The database connection.
measurementTable String (Optional)
  Measurement table name used to load measurement key cache.

## Remarks

Source tables are expected to have at least the following fields: `ID NVARCHAR Measurement key formatted as: ArchiveSource:PointID SignalID GUID Unique identification for measurement`

## See Also

#### Reference

MeasurementKey Class
Gemstone.Timeseries Namespace