Gemstone Timeseries Library
Show/Hide TOC

# DataSourceLookupsLookupMetadata Method

Lookups up metadata record from provided MeasurementKey.

## Definition

Namespace: Gemstone.Timeseries.Data
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.163 -- Release Build+cf7cf4d3156bba09a67241b3d0a5244a44ff1c04
C#
View Source Request Example

    public static DataRow? LookupMetadata(
    	this DataSet dataSource,
    	Guid signalID,
    	string measurementTable = "ActiveMeasurements"
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function LookupMetadata (
    	dataSource As DataSet,
    	signalID As Guid,
    	Optional measurementTable As String = "ActiveMeasurements"
    ) As DataRow

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static DataRow^ LookupMetadata(
    	DataSet^ dataSource,
    	Guid signalID,
    	String^ measurementTable = L"ActiveMeasurements"
    )

JavaScript
View Source Request Example

    Gemstone.Timeseries.Data.DataSourceLookups.LookupMetadata = function(dataSource, signalID, measurementTable);

#### Parameters

dataSource DataSet
  Target DataSet.
signalID Guid
  Guid signal ID to lookup.
measurementTable String (Optional)
  Measurement table name used for meta-data lookup.

#### Return Value

DataRow
Metadata data row, if found; otherwise, null.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataSet. 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).

## See Also

#### Reference

DataSourceLookups Class
Gemstone.Timeseries.Data Namespace