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

AF SDK Reference

AFCollective Methods

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFCollective Methods

The AFCollective type exposes the following members.

Methods

  NameDescription
Public method
ApplyChanges
Save collective changes to the PI AF Server without specifying an event handler.
Public method
ApplyChanges(EventHandlerAFProgressEventArgs)
Save collective changes to the PI AF Server and notify client of progress using specified event handler.
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 method
Delete
Delete the collective by removing all members from the collective.
Public method
Equals(Object)
Determines whether the specified Object is equal to the current object.
(Inherited from AFObject.)
Public method
Equals(AFCollective)
Indicates whether the current object is equal to another object of the same type.
Public method
Equals(AFObject)
Indicates whether the current object is equal to another object of the same type.
(Inherited from AFObject.)
Public method
FindPrimary
Finds the primary member of the collective.
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
GetStatusDetails
Gets the detailed collective status information for the collective members from the server.
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
Refresh
Refreshes the client with any changes that have been made to the collective since loaded.
Public method
SwitchMember(AFConnectionPreference)
The SwitchMember method is used to change the currently connected member of the collective using default credentials.
Public method
SwitchMember(NetworkCredential, AFConnectionPreference)
The SwitchMember method is used to change the currently connected member of the collective using the specified credentials.
Public method
SwitchMember(Boolean, IWin32Window, AFConnectionPreference)
The SwitchMember method is used to change the currently connected member of the collective with a credential prompt if necessary.
Public method
ToString
Returns a String that represents the current object.
(Overrides AFObjectToString.)

See Also

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