AFGlobalRestorer Class
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFGlobalRestorer is used to restore objects persisted using
the IPIPersist interface.
Inheritance Hierarchy
SystemObject
OSIsoft.AFAFGlobalRestorer
OSIsoft.AFAFGlobalRestorer
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[CLSCompliantAttribute(false)] public static class AFGlobalRestorer
<CLSCompliantAttribute(false)> Public NotInheritable Class AFGlobalRestorer
[CLSCompliantAttribute(false)] public ref class AFGlobalRestorer abstract sealed
[<AbstractClassAttribute>] [<SealedAttribute>] [<CLSCompliantAttribute(false)>] type AFGlobalRestorer = class end
The AFGlobalRestorer type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| RestoreObject |
This method restores an object from the specified persistence string.
| |
| RestoreServers |
This method restores the servers from the objects in the specified persistence string.
|
Remarks
This AFGlobalRestorer object has two methods (RestoreObject(String, DictionaryString, Object) and RestoreServers(String, IListException, DictionaryString, Object)) that are used to restore objects that were persisted using the IPIPersist interface. To restore persisted objects, it uses other objects that implement the IPIRestorer interface.
Since all methods of this object are , an instance of it does not need to be created.
| This is an equivalent implementation of the PISDK.PIGlobalRestorer object in managed code. |