Table of Contents

Method FindService

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

FindService(string)

Retrieves the service with the specified name.

Service FindService(string name)

Parameters

name string

The service name.

Returns

Service

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

Examples

Service myService = engine.FindService("MyService");

FindService(int, int)

Retrieves the service with the specified ID.

Service FindService(int dmaID, int serviceID)

Parameters

dmaID int

The DMA ID of the service.

serviceID int

The ID of the service.

Returns

Service

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

Examples

Service myService = engine.FindService(3, 56);