PIServer.DeletePIPoints Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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: AFErrorsStringReturns 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.