Table of Contents

Method SetWriteParametersByName

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

SetWriteParametersByName(string[], object[])

Sets the write parameters with the specified names to the specified values.

object SetWriteParametersByName(string[] names, object[] values)

Parameters

names string[]

The names of the write parameter.

values object[]

The values to set.

Returns

object

Either a single HRESULT (uint) value specifying an error (e.g. when the size of the names array does not match the size of the values array) 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. In case the value in the array is 0 (S_OK), this indicates that the set for the corresponding parameter succeeded.

Remarks

  • Feature introduced in DataMiner version 8.0.3.
  • The sets are processed in the order that they appear within the provided arrays.