AFDataReference.IsReplacePIServerSupported Method (AFAttribute)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Checks whether attributes and attribute templates support ReplacePIServer method.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static bool IsReplacePIServerSupported( AFAttribute attribute )
Public Shared Function IsReplacePIServerSupported ( attribute As AFAttribute ) As Boolean Dim attribute As AFAttribute Dim returnValue As Boolean returnValue = AFDataReference.IsReplacePIServerSupported(attribute)
public: static bool IsReplacePIServerSupported( AFAttribute^ attribute )
static member IsReplacePIServerSupported : attribute : AFAttribute -> bool
Parameters
- attribute
- Type: OSIsoft.AF.AssetAFAttribute
The attribute to be checked.
Return Value
Type: BooleanReturns true/false if ReplacePIServer is supported on the attribute.