AFAnalysisRule.Publish Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The output AFAttribute values of the analysis case run are published
to the locations specified by the attribute's data reference configuration.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public virtual bool Publish()
Public Overridable Function Publish As Boolean Dim instance As AFAnalysisRule Dim returnValue As Boolean returnValue = instance.Publish()
public: virtual bool Publish()
abstract Publish : unit -> bool override Publish : unit -> bool
Return Value
Type: BooleanReturns if the operation was successful. Any messages generated during the publish process will be output using AFTrace.
Remarks
This method will process all the output AFResult values of the
analysis AFCase run. The default implementation will call the
PublishValue(AFAttribute, AFValue) for each result that
is an output.