Table of Contents

Method UnSetFlag

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

UnSetFlag(RunTimeFlags)

Clears the specified run-time flag.

public virtual void UnSetFlag(RunTimeFlags flag)

Parameters

flag RunTimeFlags

The run-time flag to clear.

Examples

public void SetParameterSilent(int pid, object value) {
	// Set the NoInformationEvents flag to disable information events
	_engine.SetFlag(RunTimeFlags.NoInformationEvents);
	// Perform a silent parameter set without triggering an information event
	element.SetParameter(pid, value);
	// Re-enable information events by clearing the NoInformationEvents flag
	_engine.UnsetFlag(RunTimeFlags.NoInformationEvents);
}

Remarks

Feature introduced in DataMiner 10.0.2 (RN 23961).