AFAnalysis.Target Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets and sets the target of the analysis.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public Object Target { get; set; }
Public Property Target As Object Get Set Dim instance As AFAnalysis Dim value As Object value = instance.Target instance.Target = value
public: property Object^ Target { Object^ get (); void set (Object^ value); }
member Target : Object with get, set
Property Value
Type: Object
Remarks
If this analysis was created from an AFAnalysisTemplate, then the target of this analysis must be an AFBaseElement created from the AFElementTemplate specified by the analysis template's Target property.
When a new AFCase is created for this analysis, its Target is automatically set to the value of this property.
| Currently, the target can only be an AFElement. |
Version Information
AFSDK
See Also
Reference
AFNotification.Target