|
MetadataHelpersLookupMeasurementKey Method
|
Looks up or creates measurement key based on provided signalID.
Namespace: GSF.TimeSeries.AdaptersAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax GSF.TimeSeries.Adapters.MetadataHelpers.LookupMeasurementKey = function(instance, signalID, id, source, measurementTable);
View SourceParameters
- instance IAdapter
- Target IAdapter instance.
- signalID Guid
- Guid signal ID to lookup.
- id UInt64
- Measurement ID to use for creating new measurement key.
- source String (Optional)
- Source name used for meta-data lookup.
- measurementTable String (Optional)
- Measurement table name used for meta-data lookup.
Return Value
MeasurementKeyFound or newly created measurement key. Failure to create key results in
Undefined.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAdapter. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
This is a metadata first lookup operation.
See Also