Table of Contents

Method SetParametersByName

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

SetParametersByName(string[], object[])

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

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

Parameters

names string[]

The names of the parameters to set.

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

  • This is a wrapper method for the NotifyProtocol type 84 NT_SET_PARAMETER_BY_NAME call.
  • Feature introduced in DataMiner version 8.0.3.