PISystem.RemovePlugInAssembly Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Removes a AFPlugIn assembly from the database.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.