PISystem.RemovePlugInAssembly Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Removes a AFPlugIn assembly from the database.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public void RemovePlugInAssembly( Guid assemblyID )
Public Sub RemovePlugInAssembly ( assemblyID As Guid ) Dim instance As PISystem Dim assemblyID As Guid instance.RemovePlugInAssembly(assemblyID)
public: void RemovePlugInAssembly( Guid assemblyID )
member RemovePlugInAssembly : assemblyID : Guid -> unit
Parameters
- assemblyID
- Type: SystemGuid
The unique identifier of an assembly, obtained from the AFPlugIn.AssemblyID property.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | This exception is thrown if the assemblyID is Empty. |
Remarks
Assemblies and PlugIns already loaded into the application will not be removed
from memory. Any support assemblies for the plugin will also be removed.