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

AF SDK Reference

AFLibrary.Import Method (AFDatabase)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFLibrary.Import Method (AFDatabase)
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.

Important note Important
During a library import the database Name, Description, or ExtendedProperties are not modified.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in