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

AF SDK Reference

PISystem.UploadPlugInSupportAssembly Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.UploadPlugInSupportAssembly Method
Uploads a AFPlugIn support assembly to the database.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public void UploadPlugInSupportAssembly(
	Guid ownerAssemblyID,
	string directoryName,
	string filePath,
	bool force
)
Public Sub UploadPlugInSupportAssembly ( 
	ownerAssemblyID As Guid,
	directoryName As String,
	filePath As String,
	force As Boolean
)

Dim instance As PISystem
Dim ownerAssemblyID As Guid
Dim directoryName As String
Dim filePath As String
Dim force As Boolean

instance.UploadPlugInSupportAssembly(ownerAssemblyID, 
	directoryName, filePath, force)
public:
void UploadPlugInSupportAssembly(
	Guid ownerAssemblyID, 
	String^ directoryName, 
	String^ filePath, 
	bool force
)
member UploadPlugInSupportAssembly : 
        ownerAssemblyID : Guid * 
        directoryName : string * 
        filePath : string * 
        force : bool -> unit 

Parameters

ownerAssemblyID
Type: SystemGuid
The unique identifier of the owning assembly, obtained from the owning plugin's AFPlugIn.AssemblyID property.
directoryName
Type: SystemString
The name of the directory for the support assembly. If , then the AssemblyCultureAttribute within the assembly will be used as the directory name.
filePath
Type: SystemString
The filePath of the local assembly to be uploaded.
force
Type: SystemBoolean
Set to if assembly should be uploaded even if it is older than existing assembly.

Remarks

Use this routine to upload an assembly to the server which adds additional support to the owning AFPlugIn assembly. Once uploaded, the support assembly will become available to all client applications. Note that once an assembly has been loaded into a client application, it cannot be updated until that application is restarted.

Version Information

AFSDK


See Also

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