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

AF SDK Reference

AFContact.Delete Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFContact.Delete Method
Deletes this contact from the PISystem.

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

Syntax

public void Delete()
Public Sub Delete

Dim instance As AFContact

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

Exceptions

ExceptionCondition
InvalidOperationException This exception is thrown if the contact is defined by ActiveDirectory.

Remarks

This method will delete this contact from the PISystem. The contact cannot be deleted if it is defined by ActiveDirectory. This method will automatically CheckIn the deleted contact to the server.

Version Information

AFSDK


See Also

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