Initial admin and DR services. (#329)

* Add initial services for admin, tasks, and DR

* Fix up some of the contract interfaces

* Make fields public to allow Json.Net to work

* Fix a couple issues in backup contracts
This commit is contained in:
Karl Burtram
2017-04-26 10:29:15 -07:00
committed by GitHub
parent 009967fee8
commit 1a16101381
15 changed files with 409 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.SqlTools.ServiceLayer.TaskServices.Contracts
{
public enum TaskState
{
NotStarted = 0,
Running = 1,
Complete = 2
}
public class TaskInfo
{
public int TaskId { get; set; }
public TaskState State { get; set; }
}
}