Method FindWriteParameterID
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
FindWriteParameterID(string)
Gets the ID of the write parameter with the specified name.
note
Please use a library with the mapping between parameter Description and ID in your script instead.
[Obsolete("Use a library with the mapping between name and ID in your script instead.")]
public virtual int FindWriteParameterID(string name)
Parameters
namestringThe name of the write parameter.
Returns
- int
The ID of the write parameter with the specified name or -1 if the write parameter was not found.
Examples
var dummy = engine.GetDummy("dummy1");
int parameterId = dummy.FindWriteParameterID("MyWriteParameter");
Remarks
The specified value for the name argument should be the value of the Description tag of the parameter and not the value of the Name tag.