C# Класс openVisN.MetadataRetriever

Retrieves current meta-data from openHistorian using GEP
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Releases all the resources used by the MetadataRetriever object.

GetMetadata ( string connectionString, int timeout = Timeout.Infinite ) : DataSet

Gets meta-data from the connectionString waiting no longer than the specified timeout.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the MetadataRetriever object and optionally releases the managed resources.

GetMetadata ( int timeout ) : DataSet

Gets meta-data using GEP waiting no longer than specified timeout.

MetadataRetriever ( string connectionString ) : System

Creates a new MetadataRetriever instance with the specified connectionString.

m_subscriber_ConnectionEstablished ( object sender, EventArgs e ) : void
m_subscriber_MetaDataReceived ( object sender, GSF e ) : void
m_subscriber_ProcessException ( object sender, GSF e ) : void

Описание методов

Dispose() публичный Метод

Releases all the resources used by the MetadataRetriever object.
public Dispose ( ) : void
Результат void

GetMetadata() публичный статический Метод

Gets meta-data from the connectionString waiting no longer than the specified timeout.
public static GetMetadata ( string connectionString, int timeout = Timeout.Infinite ) : DataSet
connectionString string
timeout int Specifies how long to wait, in milliseconds, for meta-data.
Результат System.Data.DataSet