AFNotificationRule.DeleteNotificationRules Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Delete the objects with the specified unique identifiers.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static void DeleteNotificationRules( PISystem system, IList<Guid> ids )
Public Shared Sub DeleteNotificationRules ( system As PISystem, ids As IList(Of Guid) ) Dim system As PISystem Dim ids As IList(Of Guid) AFNotificationRule.DeleteNotificationRules(system, ids)
public: static void DeleteNotificationRules( PISystem^ system, IList<Guid>^ ids )
static member DeleteNotificationRules : 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.