Click or drag to resize
OSIsoft, LLC

PIPointListSaveAttributes Method

Set the PIPoint attribute values for each PIPoint in the list and save the attribute values to the server.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public AFErrors<string> SaveAttributes(
	IDictionary<string, Object> attributeValues


Type: System.Collections.GenericIDictionaryString, Object
A dictionary if new attribute values to be saved in the server for all the PIPoint in this list. The dictionary key is the name of the attribute to be modified and the dictionary value is the new value for the attribute.

Return Value

Type: AFErrorsString
Returns an AFErrorsTKey object which contains any errors that occurred during the save. If the error is related to PIServer connection then PIServerErrors key is the PIServer name, otherwise Errors key is the PIPoint name. If no errors occur, then will be returned.
The PIPoint attribute values for all the PIPoint objects in this list are set to the specified values and then saved to the server.
Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence