Click or drag to resize
OSIsoft, LLC

AFAnalysisHasTarget Property

This read-only property indicates if there is a target associated with this analysis.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
public bool HasTarget { get; }

Property Value

Type: Boolean
Returns if there is a target associated with this analysis.
Remarks
This property can be used to determine if there is a target associated with this analysis without loading the target from the server.
Note Note
Currently, the target can only be an AFElement.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6
See Also
Enabling Operational Intelligence