OSIsoft.AF Namespace
- Last UpdatedNov 18, 2025
- 12 minute read
- PI System
- AF SDK 2024 R2
- Developer
The top-level OSIsoft.AF namespace contains the main classes that are used by all the other namespaces within the AF SDK. It also contains the PISystems collection which is the top level of the AF SDK hierarchy.
Classes
| Class | Description | |
|---|---|---|
| AFActiveDirectoryProperties |
The AFActiveDirectoryProperties object is used to get and set
the Active Directory configuration properties used by the PI AF Server
to access contact information.
| |
| AFCategories |
The AFDatabase object maintains the collection of all global
AFCategory collections defined on a database.
| |
| AFCategory |
The AFCategory represents a user-defined value used to categorize
objects within the AF SDK. Use it to group objects by categories
when generating reports or when making queries.
| |
| AFChangedEventArgs |
Provides data for the Changed event.
| |
| AFCheckOutInfo |
The AFCheckOutInfo object is used to represent the checked
out status information of the current object.
| |
| AFClientRegistration |
AF client registration for OIDC authentication
| |
| AFCollection |
Base class used for all collections in the AF SDK.
| |
| AFCollectionT |
Provides the abstract base class used for all collections in the AF SDK
that are indexed by unique identifier.
| |
| AFCollectionListT |
A generic list of objects that does not have name lookup. This collection can
be a user-defined collection of objects which belong to different objects.
| |
| AFConnectionInfo |
The AFConnectionInfo object is used to provide the
connection configuration information and status to the PI AF Server.
| |
| AFContact |
A AFContact provides contact information maintained by AF.
| |
| AFCsvColumn |
Class used to represent individual columns when using CSV import and export.
| |
| AFCsvColumns |
A collection of AFCsvColumn objects.
| |
| AFDatabase |
The AFDatabase represents a single database (data archive) in a PI AF Server.
| |
| AFDatabases |
The collection of AFDatabase objects maintained by the
SDK for elements on the PISystem.
| |
| AFErrorsTKey |
This class is used to return error information.
| |
| AFEventArgs |
Base class for EventArgs that can be associated with an event in the SDK.
| |
| AFGlobalRestorer |
The AFGlobalRestorer is used to restore objects persisted using
the IPIPersist interface.
| |
| AFGlobalSettings |
All the global application settings.
| |
| AFKeyedResultsTKey, TResult |
This class is used to return a dictionary of results along with error information.
| |
| AFLibraries | ||
| AFLibrary |
The AFLibrary is a collection of application or domain information
that can be imported into an PISystem.
| |
| AFListResultsTKey, TResult |
This class is used to return a list of results along with error information.
| |
| AFNamedCollectionT |
Provides the abstract base class used for all collections in the AF SDK
that are indexed by unique identifier and name.
| |
| AFNamedCollectionListT |
A generic list of objects that support name lookups. This collection
can be a user-defined collection of objects which belong to different
objects.
| |
| AFNameSubstitution |
This class provides support for the name substitution used with
setting the names of objects.
| |
| AFObject |
Base class used for all objects in the AF SDK.
| |
| AFOidcIdentity | ||
| AFPlugIn |
The AFPlugIn contains the information about a AF
plugin that is defined and installed on the PI AF Server.
| |
| AFPlugInLoadPropertiesAttribute |
Attribute used on an AFPlugIn assembly to specify the
AFPlugInLoadProperties used to control the loading of the plugin.
| |
| AFPlugInNonEditableConfigAttribute |
Attribute used on an AFPlugIn to indicate that the editing of its configuration
is not allowed in the user interface.
| |
| AFPlugIns |
This collection contains the list of AFPlugIn objects
that are installed on the server's workstation.
| |
| AFProgressEventArgs |
Provides data for a progress event.
| |
| AFProvider |
AF Identity Provider
| |
| AFRole |
AF Identity Provider Role
| |
| AFSDKExtension |
Static class provides extension methods for classes within the AF SDK.
| |
| AFSecurity |
The AFSecurity object provides access and control to the security
aspects of the associated object.
| |
| AFSecurityIdentities |
The collection of AFSecurityIdentity objects is maintained
by the PISystem (PI AF Server).
| |
| AFSecurityIdentity |
The AFSecurityIdentity object represents a security identity
on a PISystem (PI AF Server).
| |
| AFSecurityMapping |
The AFSecurityMapping object represents a mapping between a
Windows identity and an AFSecurityIdentity on a
PISystem (PI AF Server).
| |
| AFSecurityMappings |
The AFSecurityMappings collection represents the available
AFSecurityMapping objects on a particular PISystem
(PI AF Server).
| |
| AFSecurityRightsExtension |
Static class provides extension methods for AFSecurityRights enumeration.
| |
| NumericStringComparerT |
Represents a numeric string comparison operation that uses special
case-insensitive comparison rules for strings with numeric values.
| |
| PISystem |
The PISystem represents a single logical data store for the AF SDK.
| |
| PISystems |
The global collection of PISystem objects maintained by the
AF SDK represents the known systems available from a workstation for
client applications.
| |
| UniversalComparerT |
A universal comparer that can be used to compare any two
objects for equivalence using any combination of properties.
|
Structures
| Structure | Description | |
|---|---|---|
| AFChangeInfo |
The AFChangeInfo structure is used when returning information about objects
that have changed in the server.
| |
| AFPathFilter |
A filter to restrict the objects found from a path.
| |
| AFPathToken |
Represents a path token from parsing an object path.
| |
| AFPlugInSupportAssembly |
Information about a support assembly for an AFPlugIn.
| |
| AFSecurityEntry |
A security entry returned by the GetSecurityEntries method.
| |
| AFSecurityRightsToken |
A security rights token is used to check security for an object.
|
Interfaces
| Interface | Description | |
|---|---|---|
| IAFChangedEvent |
This interface defines the Changed event that is implemented on objects
that support notification of changes.
| |
| IAFList |
An interface implemented by all collections in the AF SDK.
| |
| IAFNamedCollectionT |
An interface for named collections that support looking up by ID
and Name.
| |
| IAFSecurable |
This interface defines the properties and methods for objects which support security.
| |
| IAFTransactable |
This interface defines the properties and methods for objects which support being transacted.
| |
| IPIPersist |
The IPIPersist interface allows a persistence string for an
object to be obtained.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| AFAuthenticationMode |
This is an enumeration that defines the possible values used when
you specify the authentication mode of the PISystem.
| |
| AFChangeAction |
Specifies how the AFObject is changed.
| |
| AFChangeInfoAction |
The action that caused a object to be changed.
| |
| AFCheckedOutMode |
Defines the different modes that can be specified when checking in or finding modified objects.
| |
| AFConnectionPreference |
Defines the connection preference when connecting to an AFCollective
or PICollective.
| |
| AFConnectionProtocol |
Defines the connection protocol used to communicate with the PI AF Server.
| |
| AFContactType |
This enumeration specifies the type of AFContact.
| |
| AFEncodeType |
Defines the different ways a reference to an object can be encoded using one of the
AFObjectGetPath methods.
| |
| AFErrorStatus |
Defines the possible values for the error status.
| |
| AFGlobalSettingsCertValidationMode |
Determine level of certificate validation
| |
| AFGlobalSettingsPreferOpenId |
Determine default authentication behavior when connecting to PI Data Archive and AF Servers.
| |
| AFIdentity |
This is the enumeration used for the Identity
property.
| |
| AFNameSubstitutionFilters |
These filters are used when requesting the list of substitution patterns.
| |
| AFNameSubstitutionType |
The type of substitution used by the AFNameSubstitution class.
| |
| AFPathFilterType |
The type of filter used when parsing an object path.
| |
| AFPlugInLoadProperties |
This enumeration specifies the properties for loading the assembly containing the AFPlugIn.
| |
| AFProgressStatus |
Specifies the status of a operation.
| |
| AFSearchField |
Defines the fields of the object that are searched.
| |
| AFSecurityItem |
The AFSecurityItem is an enumeration of the possible
values for specifying security item in the method.
| |
| AFSecurityMappingType |
This enumeration defines the types of AFSecurityMapping.
| |
| AFSecurityOperation |
The operation used when adding user security rights to objects.
| |
| AFSecurityRights |
The AFSecurityRights is an enumeration of the possible
values for specifying security access rights of objects.
| |
| AFSessionSortField |
Defines the AFSession field that is sorted.
| |
| AFSortField |
Defines the field that is sorted.
| |
| AFSortOrder |
Defines the sort order.
| |
| AFVerifySignatureLevel |
This enumeration specifies the possible levels used when verifying
the signature of an assembly.
| |
| PIExportMode |
Indicates the type of export to perform when using an ExportXml method.
Since this is a bit mask, several of these values can be set at the same time.
| |
| PIImportMode |
Indicates the type of import to perform when using an ImportXml or ImportCsvmethod.
Since this is a bit mask, several of these values can be set at the same time.
| |
| PISystemFeatures |
This enumeration represents the features that may be enabled or disabled for
the PISystem.
| |
| PISystemsAFDirectoryOptions |
In This Topic
Related Links
- AFActiveDirectoryProperties Class
- AFAuthenticationMode Enumeration
- AFCategories Class
- AFCategory Class
- AFChangeAction Enumeration
- AFChangedEventArgs Class
- AFChangeInfo Structure
- AFChangeInfoAction Enumeration
- AFCheckedOutMode Enumeration
- AFCheckOutInfo Class
- AFClientRegistration Class
- AFCollection Class
- AFCollection(T) Class
- AFCollectionList(T) Class
- AFConnectionInfo Class
- AFConnectionPreference Enumeration
- AFConnectionProtocol Enumeration
- AFContact Class
- AFContactType Enumeration
- AFCsvColumn Class
- AFCsvColumns Class
- AFDatabase Class
- AFDatabases Class
- AFEncodeType Enumeration
- AFErrors(TKey) Class
- AFErrorStatus Enumeration
- AFEventArgs Class
- AFGlobalRestorer Class
- AFGlobalSettings Class
- AFGlobalSettings.CertValidationMode Enumeration
- AFGlobalSettings.PreferOpenId Enumeration
- AFIdentity Enumeration
- AFKeyedResults(TKey, TResult) Class
- AFLibraries Class
- AFLibrary Class
- AFListResults(TKey, TResult) Class
- AFNamedCollection(T) Class
- AFNamedCollectionList(T) Class
- AFNameSubstitution Class
- AFNameSubstitution.Filters Enumeration
- AFNameSubstitutionType Enumeration
- AFObject Class
- AFOidcIdentity Class
- AFPathFilter Structure
- AFPathFilterType Enumeration
- AFPathToken Structure
- AFPlugIn Class
- AFPlugIn.LoadProperties Enumeration
- AFPlugIn.LoadPropertiesAttribute Class
- AFPlugIn.NonEditableConfigAttribute Class
- AFPlugIn.SupportAssembly Structure
- AFPlugIns Class
- AFProgressEventArgs Class
- AFProgressStatus Enumeration
- AFProvider Class
- AFRole Class
- AFSDKExtension Class
- AFSearchField Enumeration
- AFSecurity Class
- AFSecurityEntry Structure
- AFSecurityIdentities Class
- AFSecurityIdentity Class
- AFSecurityItem Enumeration
- AFSecurityMapping Class
- AFSecurityMappings Class
- AFSecurityMappingType Enumeration
- AFSecurityOperation Enumeration
- AFSecurityRights Enumeration
- AFSecurityRightsExtension Class
- AFSecurityRightsToken Structure
- AFSessionSortField Enumeration
- AFSortField Enumeration
- AFSortOrder Enumeration
- AFVerifySignatureLevel Enumeration
- IAFChangedEvent Interface
- IAFList Interface
- IAFNamedCollection(T) Interface
- IAFSecurable Interface
- IAFTransactable Interface
- IPIPersist Interface
- NumericStringComparer(T) Class
- PIExportMode Enumeration
- PIImportMode Enumeration
- PISystem Class
- PISystemFeatures Enumeration
- PISystems Class
- PISystems.AFDirectoryOptions Enumeration
- UniversalComparer(T) Class