Table of Contents

Method MergeWithAlarmProperties

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

MergeWithAlarmProperties(Ticket, TicketFieldResolver, AlarmEventMessage)

Merges the alarm properties from the AlarmEventMessage in the ticket fields when the TicketFieldResolver defines an AlarmFilterField.

public static Ticket MergeWithAlarmProperties(Ticket baseTicket, TicketFieldResolver resolver, AlarmEventMessage alarm)

Parameters

baseTicket Ticket

To be merged ticket.

resolver TicketFieldResolver

Resolver that defines the ticket fields.

alarm AlarmEventMessage

AlarmEventMessage that contains all alarm data.

Returns

Ticket

Merged ticket.

Examples

Ticket newTicket = Ticket.MergeWithAlarmProperties(new Ticket(), ticketFieldResolver, alarm);

Remarks

Feature introduced in DataMiner 9.6.5 (21202).

Exceptions

FailedParseAlarmPropertyException

Failed parsing alarm property.

AlarmPropertyNameDoesNotExistException

An exposer with the specified name does not exist.