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

AF SDK Reference

AFNotificationRule.Target Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationRule.Target Property
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: AFElement
Returns 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.

Note Note
Currently, the target can only be an AFElement.

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, 2.9.5, 2.9, 2.8.5, 2.8

See Also

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