AFAnalysisTemplate.DeleteAnalysisTemplates 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.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static void DeleteAnalysisTemplates( PISystem system, IList<Guid> ids )
Public Shared Sub DeleteAnalysisTemplates ( system As PISystem, ids As IList(Of Guid) ) Dim system As PISystem Dim ids As IList(Of Guid) AFAnalysisTemplate.DeleteAnalysisTemplates(system, ids)
public: static void DeleteAnalysisTemplates( PISystem^ system, IList<Guid>^ ids )
static member DeleteAnalysisTemplates : 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.