C# Class openVisN.MetadataRetriever

Retrieves current meta-data from openHistorian using GEP
Inheritance: IDisposable
Afficher le fichier Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

Dispose() public méthode

Releases all the resources used by the MetadataRetriever object.
public Dispose ( ) : void
Résultat void

GetMetadata() public static méthode

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.
Résultat System.Data.DataSet