PIServers.Clear Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Unregisters all existing PIServer entries from the list of known
PI Data Archive servers on the local machine.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Clear()
Public Sub Clear Dim instance As PIServers instance.Clear()
public: virtual void Clear() sealed
abstract Clear : unit -> unit override Clear : unit -> unit
Implements
ICollectionTClearIListClear
Remarks
This method is used to unregister all existing PIServer entries from the list of
known PI Data Archive servers on the local machine except the DefaultPIServer.
This does not affect the configuration of servers on other client computers.