Table of Contents

Method SetParameterItemData

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

SetParameterItemData(string, object)

Sets the value stored for the specified parameter in the ElementData.xml file.

[Obsolete("This method is obsolete since DataMiner 10.3.4.")]
int SetParameterItemData(string data, object value)

Parameters

data string

The name of the parameter.

value object

The value to set.

Returns

int

HRESULT value. A value of 0 (S_OK) indicates the set succeeded.

Remarks

  • 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]\”.
  • When multiple parameters need to be set at once, use the SetParametersItemData(string[], object[]) method instead.
  • This method is deprecated since DataMiner 10.3.4.