# OnlineState

> Represent the connection state of the version control provider.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.VersionControl](/engine/6000.7/script-reference/unityeditor/versioncontrol.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
[Flags]
public enum OnlineState
```

## Fields

| Value                                                                                          | Description                                                                                |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [Offline](/engine/6000.7/script-reference/unityeditor/versioncontrol/onlinestate/offline.md)   | Connection to the version control server could not be established.                         |
| [Online](/engine/6000.7/script-reference/unityeditor/versioncontrol/onlinestate/online.md)     | Connection to the version control server has been established.                             |
| [Updating](/engine/6000.7/script-reference/unityeditor/versioncontrol/onlinestate/updating.md) | The version control provider is currently trying to connect to the version control server. |
