AFDataReference.IsReplacePIServerSupported Method (AFAttribute)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Checks whether attributes and attribute templates support ReplacePIServer method.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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.