Funzione statica
Lento
Server.GetPackages
Returns a list of Packages running, optionally returns all Packages installed in the server
Non ancora tradotto
Sintassi
Server.GetPackages(only_loaded = true, package_type_filter = PackageType.All)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
only_loaded
facoltativo
|
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
facoltativo
|
PackageType | PackageType.All |
Which Package type to return. Leave it default to return all types. |
Valore restituito
-
table[]
a list of Packages data
Campi della tabella
titlestringnamestringtypePackageTypeversionstringauthorstring