AddInManager Class

 

Represents the operations that are performed by the add-in management provider.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.AddinInfrastructure.AddInManager

Syntax

[CallbackBehaviorAttribute(UseSynchronizationContext = false)]
public sealed class AddInManager : IDisposable
[CallbackBehaviorAttribute(UseSynchronizationContext = false)]
public ref class AddInManager sealed : IDisposable
<CallbackBehaviorAttribute(UseSynchronizationContext := False)>
Public NotInheritable Class AddInManager
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod AddInManager()

Creates and initializes an instance of the AddInManager class.

Properties

Name Description
System_CAPS_pubproperty InstalledAddInPackages

Gets a list of add-in packages that are installed.

System_CAPS_pubproperty InstalledPackageSnapshot

Gets a snapshot of the add-in packages that are currently installed.

System_CAPS_pubproperty ObservablePackages

Gets an observable collection of the add-in packages that are currently installed.

System_CAPS_pubproperty OperationInProgress

Indicates whether the operation is in progress.

System_CAPS_pubproperty RebootRequired

Indicates whether the computer must be restarted.

System_CAPS_pubproperty RestartDashboard

Indicates whether the Dashboard must be restarted.

Methods

Name Description
System_CAPS_pubmethod CancelAsyncOperation()

Cancels the current asynchronous operation.

System_CAPS_pubmethod CheckCredentials(String, String)

Verifies that the specified user name and password are valid on the server.

System_CAPS_pubmethod CheckCredentialsAsync(String, String)

Asynchronously verifies that the specified user name and password are valid on the server.

System_CAPS_pubmethod Dispose()

Releases all of the resources that are used by the AddInManager object.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetInstalledAddInPackagesAsync()

Asynchronously retrieves the value of the InstalledAddInPackages method and then calls GetAddInsCompleted method.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InstallAddIn(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.

System_CAPS_pubmethod InstallAddIn(Uri, String, Guid, ClientInstallFilter)

Downloads and installs the add-in package from the specified address.

System_CAPS_pubmethod InstallAddInAsync(Package, ClientInstallFilter)

Asynchronously installs the specified add-in package.

System_CAPS_pubmethod InstallAddInAsync(Uri, String, Guid, ClientInstallFilter)

Asynchronously downloads and installs the add-in package from the specified address.

System_CAPS_pubmethod InstallAddInRemote(Package, ClientInstallFilter, String, String, String)

Installs the specified add-in package from a client computer.

System_CAPS_pubmethod InstallAddInRemoteAsync(Package, ClientInstallFilter, String, String, String)

Asynchronously installs the specified add-in package from a client computer.

System_CAPS_pubmethod NewAddInVersionAvailable(Guid, Version, Uri, UpdateClassification)

Provides notification that a new version of an add-in package is available.

System_CAPS_pubmethod NewAddInVersionAvailableAsync(Guid, Version, Uri, UpdateClassification)

Asynchronously provides notification that a new version of an add-in package is available.

System_CAPS_pubmethod PerformInstallations()

Installs the add-in package in the background on the local computer.

System_CAPS_pubmethod PerformInstallationsAsync()

Asynchronously installs the add-in package in the background on the local computer.

System_CAPS_pubmethod RedeployAddIn(Guid)

Redeploys the add-in package with the specified identifier.

System_CAPS_pubmethod RedeployAddInAsync(Guid)

Asynchronously redeploys the add-in package with the specified identifier.

System_CAPS_pubmethod RegisterForChanges()

Registers with the metadata provider to be notified about any changes that are made to an add-in.

System_CAPS_pubmethod SetAddInExpirationDate(Guid, DateTime, Uri)

Sets the expiration date for the specified add-in package.

System_CAPS_pubmethod SetAddInExpirationDateAsync(Guid, DateTime, Uri)

Asynchronously sets the expiration date for the specified add-in package.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UninstallAddIn(Guid)

Uninstalls an add-in package.

System_CAPS_pubmethod UninstallAddInAsync(Guid)

Asynchronously uninstalls an add-in package.

Events

Name Description
System_CAPS_pubevent AsyncOperationCompleted

Represents the event that occurs when asynchronous operations finish.

System_CAPS_pubevent ChangeOccured

Represents the event that occurs when the add-in list changes on the server.

System_CAPS_pubevent GetAddInsCompleted

Represents the event that occurs when the GetInstalledAddInPackagesAsync method finishes.

System_CAPS_pubevent ProgressEvent

Represents the event that occurs to send progress information for asynchronous operations.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace

Return to top