bin/projects/dbatools/dbatools/Runspace/DbaRunspaceState.cs
using System;
using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sqlcollaborative.Dbatools.Runspace { /// <summary> /// Contains the state a managed, unique runspace can be in. /// </summary> public enum DbaRunspaceState { /// <summary> /// The runspace is up and running /// </summary> Running = 1, /// <summary> /// The runspace has received the stop order, but has not yet obeyed it /// </summary> Stopping = 2, /// <summary> /// The runspace has followed its order to stop and is currently disabled /// </summary> Stopped = 3, } } |