AFNotificationRule.Target Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets and sets the target of the AFNotificationRule.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFElement Target { get; }
Public ReadOnly Property Target As AFElement Get Dim instance As AFNotificationRule Dim value As AFElement value = instance.Target
public: property AFElement^ Target { AFElement^ get (); }
member Target : AFElement with get
Property Value
Type: AFElementReturns the target of the AFNotificationRule.
Remarks
If this AFNotificationRule was created from an AFNotificationRuleTemplate, then the target of this notification rule must be an AFElement created from the AFElementTemplate specified by the Target property.
| Currently, the target can only be an AFElement. |