# ServiceStatusFlag Enum

Namespace: [PIX.QMSAPI.DataObjects.Enums](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Enums.htm)  
Assembly: PIX.dll

These are the possible states a service can have. It is a flag which implies that a service could have multiple states.

## Syntax

```
[Flags]
public enum ServiceStatusFlag
```

### Fields

| Name | Description |
| --- | --- |
| CouldNotContact | Unable to contact the service. |
| GracefulStop | Graceful stop of service. |
| Initializing | The status is initializing. |
| LEFInvalid | The LEF (License Enabler File) is invalid. |
| ManyQMS | Multiple QMS detected. |
| None | No flags specified. |
| OffDuty | The service is not active. |
| OK | The services is online and fully functional. |
| QVPRUnavailable | The QlikView Publisher is not available. |
| RestartNeeded | The services needs to be restarted. |
| StartupFailed | The service failed to start. |
| Unlicensed | The service is not licensed. |

### Extension Methods

[ApiFilter.FilterFor<ServiceStatusFlag>(Nullable<ApiVersion>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.ApiFiltering.ApiFilter.FilterFor.htm#PIX_ApiFiltering_ApiFilter_FilterFor__1___0_System_Nullable_PIX_ApiVersion__)