openPDC Historian Help
MetadataService Class
NamespacesTVA.Historian.DataServicesMetadataService
Represents a REST web service for historian metadata.
Declaration Syntax
C#Visual BasicVisual C++
[ServiceBehaviorAttribute(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
public class MetadataService : DataService, 
	IMetadataService
<ServiceBehaviorAttribute(InstanceContextMode := InstanceContextMode.Single, ConcurrencyMode := ConcurrencyMode.Multiple)> _
Public Class MetadataService _
	Inherits DataService _
	Implements IMetadataService
[ServiceBehaviorAttribute(InstanceContextMode = InstanceContextMode::Single, ConcurrencyMode = ConcurrencyMode::Multiple)]
public ref class MetadataService : public DataService, 
	IMetadataService
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
MetadataService()()()
Initializes a new instance of the MetadataService class.

Archive
Gets or sets the IArchive used by the web service for its data.
(Inherited from DataService.)
CanRead()()() (Inherited from RestService.)
CanWrite()()() (Inherited from RestService.)
Dispose()()() (Inherited from RestService.)
Dispose(Boolean) (Inherited from RestService.)
Enabled()()() (Inherited from RestService.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()() (Inherited from RestService.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Initialize()()() (Inherited from RestService.)
LoadSettings()()() (Inherited from RestService.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnServiceHostCreated()()() (Inherited from RestService.)
OnServiceHostStarted()()() (Inherited from RestService.)
OnServiceProcessException(Exception) (Inherited from RestService.)
PersistSettings()()() (Inherited from RestService.)
ReadAllMetadataAsJson()()()
Reads all metadata from the Archive and sends it in Json format.

ReadAllMetadataAsXml()()()
Reads all metadata from the Archive and sends it in Xml format.

ReadRangeMetadataAsJson(String, String)
Reads a subset of metadata from the Archive and sends it in Json format.

ReadRangeMetadataAsXml(String, String)
Reads a subset of metadata from the Archive and sends it in Xml format.

ReadSelectMetadataAsJson(String)
Reads a subset of metadata from the Archive and sends it in Json format.

ReadSelectMetadataAsXml(String)
Reads a subset of metadata from the Archive and sends it in Xml format.

SaveSettings()()() (Inherited from RestService.)
ServiceContract()()() (Inherited from RestService.)
ServiceDataFlow()()() (Inherited from RestService.)
ServiceHost()()() (Inherited from RestService.)
ServiceHostCreated()()() (Inherited from RestService.)
ServiceHostStarted()()() (Inherited from RestService.)
ServiceProcessException()()() (Inherited from RestService.)
ServiceUri()()() (Inherited from RestService.)
SettingsCategory()()() (Inherited from RestService.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WriteMetadataAsJson(SerializableMetadata)
Writes metadata received in Json format to the Archive.

WriteMetadataAsXml(SerializableMetadata)
Writes metadata received in Xml format to the Archive.

Inheritance Hierarchy
Object
RestService
 DataService
  MetadataService
See Also

Assembly: TVA.Historian (Module: TVA.Historian) Version: 1.0.33.39252