# RestoreOutcome enum

Namespace: [Grasshopper2.Framework](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.framework.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum RestoreOutcome
```

Enumerates how an attempt to restore one missing plugin ended.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Restored | 0 | The plugin was fetched, installed and loaded. The document can be opened in full. |
| Unavailable | 1 | No package client could be built, either because Rhino's package assembly is absent or because no package sources are configured. |
| NotFound | 2 | The package server knows of no package providing this plugin. |
| AlreadyInstalled | 3 | The package is already installed, yet the plugin is not loaded. Either it failed to load earlier in this session, or the installed version is built for another runtime. Fetching it again would not help, and removing it later could take a version the user wants with it. |
| DownloadFailed | 4 | The package exists but could not be downloaded. |
| InstallFailed | 5 | The package downloaded but could not be installed. |
| LoadFailed | 6 | The package installed but Grasshopper could not load a plugin out of it. |
