PIPointSources Class
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
The PIPointSources collection represents the point sources that have been
created on a particular PIServer.

Inheritance Hierarchy
SystemObject
OSIsoft.AF.PIPIPointSources
OSIsoft.AF.PIPIPointSources
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public sealed class PIPointSources : IList<PIPointSource>, ICollection<PIPointSource>, IEnumerable<PIPointSource>, IEnumerable, IList, ICollection
Public NotInheritable Class PIPointSources Implements IList(Of PIPointSource), ICollection(Of PIPointSource), IEnumerable(Of PIPointSource), IEnumerable, IList, ICollection Dim instance As PIPointSources
public ref class PIPointSources sealed : IList<PIPointSource^>, ICollection<PIPointSource^>, IEnumerable<PIPointSource^>, IEnumerable, IList, ICollection
[<SealedAttribute>] type PIPointSources = class interface IList<PIPointSource> interface ICollection<PIPointSource> interface IEnumerable<PIPointSource> interface IEnumerable interface IList interface ICollection end
The PIPointSources type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of items actually contained in the collection.
| |
| ItemInt32 |
Gets or sets the item at the specified index.
| |
| ItemString |
Returns the specified object from the collection by name.
| |
| Server |
The PIServer for this PIPointSources collection.
|
Methods
| Name | Description | |
|---|---|---|
| Contains(String) |
This method determines whether the collection contains a specific item referenced by name.
| |
| Contains(PIPointSource) |
This method determines whether the collection contains a specific item.
| |
| CopyTo |
Copies the entire collection to a compatible one-dimensional Array,
starting at the specified index of the target array.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Searches for the specified object and returns the zero-based index of the first
occurrence within the entire collection.
| |
| Refresh |
Refresh the collection by loading from the PIServer.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ChunkedByPIPointSource |
This extension method breaks up search results into chunks to make it easier to
page through and process IEnumerableT collections in chunks.
(Defined by AFSDKExtension.) |
Remarks
This is the collection of point sources that have been created on a particular
on a particular PIServer. The contained PIPointSource objects
give access to the total number of points used for that point source.
| This method, property, or class is not available in the legacy .NET 3.5 version of the SDK. |