# DisconnectAll()

> Disconnects all of the active connections between the Editor and the Players.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Networking.PlayerConnection](/engine/6000.5/script-reference/unityeditor/networking/playerconnection.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public void DisconnectAll()
```
