AFAnnotation.Delete Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Immediately removes this AFAnnotation from the server.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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. |