Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFGlobalRestorer Class

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFGlobalRestorer Class
The AFGlobalRestorer is used to restore objects persisted using the IPIPersist interface.

Inheritance Hierarchy

SystemObject
  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

You do not need to declare an instance of a static class in order to access its members.
[CLSCompliantAttribute(false)]
public ref class AFGlobalRestorer abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type AFGlobalRestorer =  class end

The AFGlobalRestorer type exposes the following members.

Methods

  NameDescription
Public methodStatic member
RestoreObject
This method restores an object from the specified persistence string.
Public methodStatic member
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.

Note Note
This is an equivalent implementation of the PISDK.PIGlobalRestorer object in managed code.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in