AFTimeRule.SetSaveConfigChangesHandler Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Set the handler used for saving ConfigString changes.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void SetSaveConfigChangesHandler( AFTimeRuleSaveConfigChangesHandler handler )
Public Sub SetSaveConfigChangesHandler ( handler As AFTimeRuleSaveConfigChangesHandler ) Dim instance As AFTimeRule Dim handler As AFTimeRuleSaveConfigChangesHandler instance.SetSaveConfigChangesHandler(handler)
public: void SetSaveConfigChangesHandler( AFTimeRuleSaveConfigChangesHandler^ handler )
member SetSaveConfigChangesHandler : handler : AFTimeRuleSaveConfigChangesHandler -> unit
Parameters
- handler
- Type: OSIsoft.AF.TimeAFTimeRuleSaveConfigChangesHandler
The handler to use for saving configuration changes. Specify to reset back to the default value.
Remarks
The specified handler will be called instead of using the default handler which saves
the configuration with the AnalysisTemplate or Analysis storage
on the server. This can be useful if aggregating a plugin inside of another plugin so
the configuration can be saved with the owning plugin's configuration.