Table of Contents

Method GetDmsAsUser

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Automation
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Automation.dll

GetDmsAsUser(IEngine)

Retrieves an object implementing the IDms interface that executes actions in the context of the user running the Automation script. This is the recommended method over GetDms(IEngine).

public static IDms GetDmsAsUser(this IEngine engine)

Parameters

engine IEngine

The IEngine implementation.

Returns

IDms

The IDms object.

Remarks

Only Skyline.DataMiner.Net.Messages.DMSMessage requests are handled in the user context. Other flows, such as subscriptions (Monitors), are not executed in the user context.

Exceptions

ArgumentNullException

engine is null.

Advanced search syntax