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

AF SDK Reference

AFVersion.Delete Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFVersion.Delete Method
Removes the object version from the owner object.

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

Syntax

public void Delete()
Public Sub Delete

Dim instance As AFVersion

instance.Delete()
public:
void Delete()
member Delete : unit -> unit 

Remarks

Once the object version is removed, the owner object is no longer valid. You should not use it any more. You can use the NextVersion or PreviousVersion methods to navigate to another version if there are any.

Use the PISystem.Supports method to check if the PISystem supports the Versioning feature.

Version Information

AFSDK


See Also

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