Public Methods

  Name Description
Public method DeterminePrerequisiteAddOnIds Returns the feature addon IDs for which installation is required prior to the installation of the addon specified by addOnId. If the addon identified by addOnId has been superseded, the results are based on the superseding addon prerequisites.
Public method FetchAndLockObject Overloaded. Retrieves and locks the specified object from this ObjectStore object. The object can be specified as a string containing a GUID, a symbolic name, or a path. Use parameters on this method to specify the owner of the lock and the lock timeout value. This method always makes a round-trip to the server.

You can optionally include a filter to control which properties to return with the object. If you pass in null for the filter parameter, this method returns values for all non-object properties and returns placeholders for all object-valued properties. For more information, see the description of the filter parameter.

Public method InstallAddOn Installs an add-on, available on a domain, to the current object store. When an add-on is installed, the pre-import script (if one exists) is run. Then the import data is imported into the object store, creating new metadata classes, properties, and data objects. Finally, the post-import script is run.

This method results in one of the following outcomes:

  • If the add-on doesn't have an installation record, the installation is attempted and an AddOnInstallationRecord object is created.
  • If the add-on has an installation record with a status of "InstallationFailed", the installation is re-attempted and the installation record's properties are updated.
  • If the add-on has an installation record with a status of "Installed", an exception (indicating that the add-on is already installed) is thrown.
Public method IsAddOnInstalled Returns a Boolean value indicating whether the feature addon identified by addOnId is installed (True) or not (False) in the object store. If the addon identified by addOnId has been superseded and the superseded addon is currently installed, a value of True is returned.
Top

See Also