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

AF SDK Reference

PIServers Constructor

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIServers Constructor
Initializes a new instance of the PIServers collection.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public PIServers()
Public Sub New


Dim instance As New PIServers()
public:
PIServers()
new : unit -> PIServers

Remarks

This is the top-level object used to access all information within the collection of PIServers known by this client. If the same user calls this constructor multiple times, the same instance of the PIServers collection is returned. If a different user calls this constructor, then a new instance of the PIServers collection is returned that is independent of the previous user's object.

Version Information

AFSDK


See Also

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