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

AF SDK Reference

AFContact.DeleteContacts Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFContact.DeleteContacts Method
Delete the objects with the specified unique identifiers.

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

Syntax

public static void DeleteContacts(
	PISystem system,
	IList<Guid> ids
)
Public Shared Sub DeleteContacts ( 
	system As PISystem,
	ids As IList(Of Guid)
)

Dim system As PISystem
Dim ids As IList(Of Guid)

AFContact.DeleteContacts(system, ids)
public:
static void DeleteContacts(
	PISystem^ system, 
	IList<Guid>^ ids
)
static member DeleteContacts : 
        system : PISystem * 
        ids : IList<Guid> -> unit 

Parameters

system
Type: OSIsoft.AFPISystem
The PISystem containing the objects to be deleted.
ids
Type: System.Collections.GenericIListGuid
A list of the unique identifiers of the objects to be checked out.

Remarks

This method will delete the objects in the specified list of ids with out requiring a checkout of the object. If the object is already checked out by another user the specified object will still be deleted.

This method will delete all references, including sandbox, to any object specified in the list of ids where the user has Delete permission on the object.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10

See Also

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