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

AF SDK Reference

PIServer.DeletePIPoints Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIServer.DeletePIPoints Method
Delete a list of PIPoint objects from the PIServer.

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

Syntax

public AFErrors<string> DeletePIPoints(
	IEnumerable<string> pointNames
)
Public Function DeletePIPoints ( 
	pointNames As IEnumerable(Of String)
) As AFErrors(Of String)

Dim instance As PIServer
Dim pointNames As IEnumerable(Of String)
Dim returnValue As AFErrors(Of String)

returnValue = instance.DeletePIPoints(pointNames)
public:
AFErrors<String^>^ DeletePIPoints(
	IEnumerable<String^>^ pointNames
)
member DeletePIPoints : 
        pointNames : IEnumerable<string> -> AFErrors<string> 

Parameters

pointNames
Type: System.Collections.GenericIEnumerableString
The list of PIPoint names to be deleted from the server.

Return Value

Type: AFErrorsString
Returns an AFErrorsTKey object which contains any errors that occurred while deleting points. The key is the PIPoint name. If no errors occur, then be returned.

Remarks

Each PIPoint identified by the specified list of names will be permanently deleted from the PIServer.

Version Information

AFSDK


See Also

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