Table of Contents

Method FindServiceTemplate

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

FindServiceTemplate(int, int)

Retrieves the service template with the specified DataMiner Agent ID and service template ID.

public Service FindServiceTemplate(int dmaId, int serviceTemplateId)

Parameters

dmaId int

The DataMiner Agent ID.

serviceTemplateId int

The service template ID.

Returns

Service

The service matching the specified DataMiner Agent ID and service template ID or null if the service template is not found.

Examples

Service service = engine.FindServiceTemplate(200, 400);