PIServer.DeletePIPoints Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: 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.