Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAdmin Methods

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFAdmin Methods

The AFAdmin type exposes the following members.

Methods

  NameDescription
Public methodStatic member
AddTrustedProvider
Add the specified trusted provider subject name to the list of trusted providers in the PISystem.
Public methodStatic member
ClearChangeTables
Clears the tables in the PI AF SQL database which record information on changes to the system.
Public methodStatic member
DeleteOrphans
Deletes orphan objects in the PISystem.
Public methodStatic member
EnableExternalDataTables
Enables support for an AFTable to link to an external source.
Public methodStatic member
EnableExternalDataTablesAllowNonImpersonatedUsers
Enables support for an AFTable to link to an external source with non-impersonated users.
Public methodStatic member
EnablePropagationOfTargetDeletion
Enables support for propagating the deletion of targets (elements) to the referencing analyses and notifications.
Public methodStatic member
EnableUomCaseSensitivity
Changes configuration of UOM abbreviations from case insensitive to case sensitive in the PI AF SQL Server database.
Public methodStatic member
GetDiagnostics
Gets diagnostic information from the system.
Public methodStatic member
GetPlugInVerifyLevel
Gets the current level of verification required for an AFPlugIn to be loaded from the server.
Public methodStatic member
GetTrustedProviders
Returns the list of trusted providers in the PISystem.
Public methodStatic member
GetVersion
Converts the string representing a version to a Version object.
Public methodStatic member
RebuildPathCache
Rebuilds the path cache to each element in the PI AF SQL Server database.
Public methodStatic member
Reindex
Rebuild every index in the PI AF SQL Server database.
Public methodStatic member
RemoveTrustedProvider
Remove the specified trusted provider subject name from the list of trusted providers in the PISystem.
Public methodStatic member
ResyncUsers
Updates the usernames in AF.
Public methodStatic member
SetFileOptions
Sets the file options used to validate an AFFile stored in the PISystem.
Public methodStatic member
SetID
Changes the ID for the PISystem to the specified Guid.
Public methodStatic member
SetPlugInVerifyLevel
Configures the level of verification required for an AFPlugIn to be loaded from the server.

See Also

TitleResults for “How to create a CRG?”Also Available in