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

AF SDK Reference

PICollectiveMember Class

  • Last UpdatedNov 18, 2025
  • 8 minute read
PICollectiveMember Class
The PICollectiveMember object is used to provide the information about the member server defined within the PICollective.

Inheritance Hierarchy

SystemObject
  OSIsoft.AFAFObject
    OSIsoft.AF.PIPICollectiveMember

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

Syntax

[SerializableAttribute]
public sealed class PICollectiveMember : AFObject, 
	IComparable<PICollectiveMember>, IEquatable<PICollectiveMember>
<SerializableAttribute>
Public NotInheritable Class PICollectiveMember
	Inherits AFObject
	Implements IComparable(Of PICollectiveMember), IEquatable(Of PICollectiveMember)

Dim instance As PICollectiveMember
[SerializableAttribute]
public ref class PICollectiveMember sealed : public AFObject, 
	IComparable<PICollectiveMember^>, IEquatable<PICollectiveMember^>
[<SealedAttribute>]
[<SerializableAttribute>]
type PICollectiveMember =  
    class
        inherit AFObject
        interface IComparable<PICollectiveMember>
        interface IEquatable<PICollectiveMember>
    end

The PICollectiveMember type exposes the following members.

Properties

  NameDescription
Public property
Collective
The PICollective that owns the collective member.
Public property
ConnectionTimeOut
The property that is the timeout used to connect to the PICollectiveMember on the remote host.
Public property
Description
Read/write property that provides a more detailed description of the object.
Public property
Host
This property is the name of the host machine where the PIServer for this PICollectiveMember is executing.
Public property
ID
Read-only property that provides a unique identifier for the object to be used for quick access that is not dependent upon the index.
(Inherited from AFObject.)
Public property
Identity
This read-only property contains identity of the object.
(Inherited from AFObject.)
Public property
IsConnected
Indicates if the collective member is being used as the connection to the PIServer.
Public property
IsConnectedToPrimary
Indicates if the client is connected to the primary server within the collective.
Public property
IsDeleted
This read-only property indicates whether the object has been deleted.
(Inherited from AFObject.)
Public property
Name
Read/write property that identifies the name of the object.
Public property
OperationTimeOut
This property that is the timeout used to perform operations on the PICollectiveMember.
Public property
PIServer
This read-only property allows access to the PIServer associated with this object.
Public property
PISystem
This read-only property allows access to the PISystem associated with this object.
(Inherited from AFObject.)
Public property
Port
This property is the port number used to connect to the PIServer for this PICollectiveMember on the remote host.
Public property
Priority
Indicates the priority order in which to select a collective member.
Public property
ServerRole
The role of the collective member server within the PICollective.
Public property
ServerVersion
Read-only property that contains a string that uniquely identifies the current server version.
Public property
UniqueID
Read-only property that provides the collective member's unique identifier as a String.
(Overrides AFObjectUniqueID.)

Methods

  NameDescription
Public method
CompareTo(Object)
Compares this instance with a specified Object.
(Inherited from AFObject.)
Public method
CompareTo(AFObject)
Compares this instance with a specified AFObject.
(Inherited from AFObject.)
Public methodCode example
Connect
Directly connects to the specific server within the PICollective using default credentials to allow sending and retrieving data.
Public methodCode example
Connect(NetworkCredential)
Directly connects to the specific server within the PICollective using the specified PI User credentials to allow sending and retrieving data.
Public methodCode example
Connect(String)
Directly connects to the specific server within the PICollective using the specified credentials to allow sending and retrieving data.
Public methodCode example
Connect(Boolean, IWin32Window)
Directly connects to the specific server within the PICollective with a credential prompt if necessary to allow sending and retrieving data.
Public methodCode example
Connect(NetworkCredential, PIAuthenticationMode)
Directly connects to the specific server within the PICollective using the specified credentials to allow sending and retrieving data.
Public methodCode example
Connect(String, String)
Directly connects to the specific server within the PICollective using the specified credentials to allow sending and retrieving data.
Public methodCode example
Connect(Boolean, IWin32Window, Boolean)
Directly connects to the specific server within the PICollective with a credential prompt if necessary to allow sending and retrieving data.
Public methodCode example
ConnectDirect
Creates an independent direct connection to the specific server of the PICollective using default credentials to allow sending and retrieving data for multiple collective members.
Public methodCode example
ConnectDirect(NetworkCredential)
Creates an independent direct connection to the specific server of the PICollective using the specified PI User credentials to allow sending and retrieving data for multiple collective members.
Public methodCode example
ConnectDirect(Boolean, IWin32Window)
Creates an independent direct connection to the specific server of the PICollective with a credential prompt if necessary to allow sending and retrieving data for multiple collective members.
Public methodCode example
ConnectDirect(NetworkCredential, PIAuthenticationMode)
Creates an independent direct connection to the specific server of the PICollective using the specified credentials to allow sending and retrieving data for multiple collective members.
Public methodCode example
ConnectDirect(Boolean, IWin32Window, Boolean)
Creates an independent direct connection to the specific server of the PICollective with a credential prompt if necessary to allow sending and retrieving data for multiple collective members.
Public method
Equals(Object)
Determines whether the specified Object is equal to the current object.
(Inherited from AFObject.)
Public method
Equals(AFObject)
Indicates whether the current object is equal to another object of the same type.
(Inherited from AFObject.)
Public method
Equals(PICollectiveMember)
Indicates whether the current object is equal to another object of the same type.
Public method
GetBufferStatus
This method gets the PIBufferStatus for the corresponding PICollectiveMember.
Public method
GetHashCode
Gets the hash code for this instance of the object which is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from AFObject.)
Public method
GetPath
Returns the full path to the object, using just the names.
(Inherited from AFObject.)
Public method
GetPath(AFObject)
Returns the path to the object relative from another object.
(Inherited from AFObject.)
Public method
GetPath(AFEncodeType, AFObject)
Returns the path to the object relative from another object, using the name and/or id as specified by encodeType.
(Inherited from AFObject.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
Persist
This method returns the persistence string for the object.
(Inherited from AFObject.)
Public method
ToString
Returns a String that represents the current object.
(Inherited from AFObject.)

Remarks

This class provides information about the member server defined with the PICollective. This object is used to check status and change configuration options, but it is not a replacement for a PIServer object used to communicate with a PIServer. A PIServer representing the PICollective and connected to one of the collective members can be obtained from the PIServers collection.

Note Notes to Callers
This method, property, or class is not available in the legacy .NET 3.5 version of the SDK.

Version Information

AFSDK


See Also

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