Table of Contents

Method GetPropertyValue

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

GetPropertyValue(string)

Gets the value of the specified service property.

public virtual string GetPropertyValue(string propertyName)

Parameters

propertyName string

The name of the service property.

Returns

string

The property value or null if the property was not found.

Examples

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