AFSDKExtension.IsGoodStatus Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
This extension method will indicate if the AFSyncStatus
is considered a good status.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public static bool IsGoodStatus( this AFSyncStatus status )
<ExtensionAttribute> Public Shared Function IsGoodStatus ( status As AFSyncStatus ) As Boolean Dim status As AFSyncStatus Dim returnValue As Boolean returnValue = status.IsGoodStatus()
public: [ExtensionAttribute] static bool IsGoodStatus( AFSyncStatus status )
[<ExtensionAttribute>] static member IsGoodStatus : status : AFSyncStatus -> bool
Parameters
- status
- Type: OSIsoft.AF.CollectiveAFSyncStatus
The AFSyncStatus to be checked.
Return Value
Type: BooleanReturns if the specified AFSyncStatus is considered a good status.