Method GetPreset
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
GetPreset(string, bool)
Retrieves the preset with the specified name. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_PRESET_LOAD (0), 0, presetName, presetLoadOptions, out result);
object GetPreset(string presetName, bool isGlobalPreset = true)
Parameters
presetNamestringThe name of the preset to get.
isGlobalPresetboolAllows to define if the preset should be shared to all users or private for scripting.
Returns
- object
The preset data.
Exceptions
- ArgumentNullException
presetNameis null.- ArgumentException
presetNameis empty.