Table of Contents

Method SetParametersItemData

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

SetParametersItemData(string[], object[])

Sets the values stored for the specified parameters in the ElementData.xml file.

[Obsolete("This method is obsolete since DataMiner 10.3.4.")]
object SetParametersItemData(string[] datas, object[] values)

Parameters

datas string[]

The names of the parameters.

values object[]

The values to set.

Returns

object

Either a single HRESULT (uint) value specifying an error or an array of HRESULT values (uint[]) (where the array has the same size as the number of parameters that have been set) where each HRESULT value indicates the result of the corresponding item that has been set.

Remarks

  • Feature introduced in DataMiner version 8.0.3.
  • This is a wrapper method for the NotifyProtocol type 89 NT_SET_ITEM_DATA call.
  • The ElementData.xml file is located in the folder “C:\Skyline DataMiner\Elements\[ElementName]\”.
  • This method is deprecated since DataMiner 10.3.4.
  • The sets are processed in the order that they appear within the provided arrays.