AFAnnotation.Delete Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Immediately removes this AFAnnotation from the server.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public void Delete()
Public Sub Delete Dim instance As AFAnnotation instance.Delete()
public: void Delete()
member Delete : unit -> unit
Remarks
This method will immediately removes this annotation from the server. Only the creator or someone with Admin permission is allowed to modify an existing annotation. To add or update an annotation, use one of the Save Overload methods.
| This method can only be used for an asset-based annotation. |