Table of Contents

Method SetPropertyValue

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SetPropertyValue(string, string)

Sets the value of the specified service property.

public virtual void SetPropertyValue(string propertyName, string propertyValue)

Parameters

propertyName string

The name of the service property.

propertyValue string

The value to set.

Examples

var myService = engine.FindService(179, 15629);
if(myService.HasProperty("myProperty"))
{
	myService.SetPropertyValue("myProperty", "myPropertyValue");
}