DisablePropagationOfTargetDeletion Class
- Last UpdatedDec 15, 2025
- 2 minute read
Disables support for propagating the deletion of targets (elements) to the referencing analyses and notifications.
This method is used to disable the PISystemFeatures.EnablePropagationOfTargetDeletion feature in the PI AF SQL Server database. When this feature is enabled, the deletion of an Asset.AFElementTemplate will delete any Analysis.AFAnalysisTemplate or AFNotificationTemplate that targets the element template. Also when enabled, the deletion of an AFElement will delete any AFAnalysis or AFNotification that targets the element.
Inheritance Hierarchy
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellDisablePropagationOfTargetDeletion
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[CmdletAttribute("Disable", "AFPropagationOfTargetDeletion", SupportsShouldProcess = true)] public class DisablePropagationOfTargetDeletion : OSICmdletBase
<CmdletAttribute("Disable", "AFPropagationOfTargetDeletion", SupportsShouldProcess := true)> Public Class DisablePropagationOfTargetDeletion Inherits OSICmdletBase Dim instance As DisablePropagationOfTargetDeletion
[CmdletAttribute(L"Disable", L"AFPropagationOfTargetDeletion", SupportsShouldProcess = true)] public ref class DisablePropagationOfTargetDeletion : public OSICmdletBase
[<CmdletAttribute("Disable", "AFPropagationOfTargetDeletion", SupportsShouldProcess = true)>] type DisablePropagationOfTargetDeletion = class inherit OSICmdletBase end
The DisablePropagationOfTargetDeletion type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DisablePropagationOfTargetDeletion |
Properties
| Name | Description | |
|---|---|---|
| AFServer | Instance of the AFServer |
Examples
$afServer | Disable-AFPropagationOfTargetDeletion
Where:
$afServer = Get-AFServer -Name "AFServerMachineName"
Enables support for propagating the deletion of targets (elements) to the referencing analyses and notifications.