Static function
Slow
Server.GetPackages
Returns a list of Packages running, optionally returns all Packages installed in the server
Syntax
Server.GetPackages(only_loaded = true, package_type_filter = PackageType.All)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
only_loaded
optional
|
boolean | true |
Set to true the function return only loaded and running packages. Caution: setting to false will retrieve Packages list from disk, which is a slow operation! |
package_type_filter
optional
|
PackageType | PackageType.All |
Which Package type to return. Leave it default to return all types. |
Returns
-
table[]
a list of Packages data
Table fields
titlestringnamestringtypePackageTypeversionstringauthorstring