AFLibrary.Import Method (AFDatabase)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Imports the library into the PISystem and the specified AFDatabase.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Import( AFDatabase database )
Public Sub Import ( database As AFDatabase ) Dim instance As AFLibrary Dim database As AFDatabase instance.Import(database)
public: void Import( AFDatabase^ database )
member Import : database : AFDatabase -> unit
Parameters
- database
- Type: OSIsoft.AFAFDatabase
The AFDatabase to import this library into. If , the library is imported into all databases in the PISystem.
Remarks
The library is imported into the current PISystem and the specified AFDatabase. The imported library changes to the database are automatically checked in.
| During a library import the database Name, Description, or ExtendedProperties are not modified. |