Table of Contents

Class GetTrendDataMessage

Namespace
Skyline.DataMiner.Net.Messages
Assembly
SLNetTypes.dll

Represents a message to request trend data from a DataMiner Agent.

[Serializable]
public class GetTrendDataMessage : TargetedClientRequestMessage
Inheritance
GetTrendDataMessage
Extension Methods

Remarks

Use this message to execute queries on the trend data tables for a certain element. Results in a GetTrendDataResponseMessage response.

Constructors

GetTrendDataMessage()

Initializes a new instance of the GetTrendDataMessage class representing a message to request trend data from a DataMiner Agent.

GetTrendDataMessage(int, int, int)

Initializes a new instance of the GetTrendDataMessage class representing a message to request trend data from a DataMiner Agent.

GetTrendDataMessage(int, int, int, string)

Initializes a new instance of the GetTrendDataMessage class representing a message to request trend data from a DataMiner Agent.

GetTrendDataMessage(int, int, int, string, bool)

Initializes a new instance of the GetTrendDataMessage class representing a message to request trend data from a DataMiner Agent.

GetTrendDataMessage(int, int, int, string, bool, bool)

Initializes a new instance of the GetTrendDataMessage class representing a message to request trend data from a DataMiner Agent.

Properties

AlternativePidClause

Gets or sets a clause which can be used to select an alternative PID next to the one selected by ParameterID/TableIndex(e.g. "iPid = -1").

AverageTrendIntervalType

Gets or sets the type of average trend interval that is requested.

DateTimeUTC

Gets or sets a value indicating whether the timestamps returned will be in UTC. StartTime and EndTime will be interpreted as UTC.

ElementID

Gets or sets the ID of the element for which you want to request trend data.

EndTime

End time of trending

Fields

List of table columns (fields) to get. To include a count, add a "COUNT(*)" field.

Flatten

Gets or sets a flag to set when you want bigger data like hour records and day records to be flattened.

Limit

Gets or sets the maximum number of rows to return.

OrderClause

Gets or sets an optional SQL order clause.

ParameterID

Gets or sets the parameter ID.

Parameters

List of parameters to include [7.0.1+]

Raw

Gets or sets a value indicating whether to return the raw data.

RetrievalWithPrimaryKey

RetrievalWithPrimaryKey is true when the ParameterIndexPair (in Parameters) contains the primary key (even in the case of a display column)

ReturnAsObjects

Gets or sets a value indicating whether the Values or Records property in the corresponding GetTrendDataResponseMessage will be set.

SkipCache

When true, data will never be resolved from the trendcache.

StartTime

Start time of trending

TableIndex

Gets or sets the primary key.

TrendOption

Gets or sets a value indicating whether trend data should be filled up.

TrendingType

Gets or sets the type of trending data that is requested.

WhereClause

Gets or sets the optional extra SQL where clause to further limit the trend data.

Methods

Clone()

Creates a new object that is a copy of the current instance.

GetElementID()

Retrieves the element ID for messages that are about an element.

ToString()

Returns a string that represents the current object.