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