Share via


AddInManager.InstallAddIn Method (Package, ClientInstallFilter)

 

Installs the specified add-in package and performs the server-side installation of the add-in. The add-in can also be installed on the client computers.

Namespace:   Microsoft.WindowsServerSolutions.AddinInfrastructure
Assembly:  AddinInfrastructure (in AddinInfrastructure.dll)

Syntax

public void InstallAddIn(
    Package p,
    ClientInstallFilter installOnClients
)
public:
void InstallAddIn(
    Package^ p,
    ClientInstallFilter^ installOnClients
)
Public Sub InstallAddIn (
    p As Package,
    installOnClients As ClientInstallFilter
)

Parameters

Exceptions

Exception Condition
AddInException

An internal error occurred with the provider.

Remarks

This method performs the same task as InstallAddIn except that it does not download the add-in package first. To use this method, you must first copy the add-in package to the value that is returned by BuildPackagePath.

See Also

InstallAddIn Overload
AddInManager Class
Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace

Return to top