Table of Contents

Method FindServiceByKey

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

FindServiceByKey(string)

Retrieves the service with the specified key.

Service FindServiceByKey(string key)

Parameters

key string

The key of the service. The key must be formatted as follows: "DMA ID/service ID".

Returns

Service

The service with the specified key or null if the service was not found.

Examples

Service myService = engine.FindServiceByKey("3/56");