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

AF SDK Reference

AFAnalysis.Target Property

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

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

Version Information

AFSDK


See Also

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