Files
sqltoolsservice/src/Microsoft.SqlTools.ServiceLayer/TaskServices/Contracts/TaskInfo.cs
Leila Lali b0263f8867 Added task service (#374)
* Added task service
2017-06-12 11:02:57 -07:00

44 lines
1.1 KiB
C#

//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.ServiceLayer.TaskServices.Contracts
{
public class TaskInfo
{
/// <summary>
/// An id to unify the task
/// </summary>
public string TaskId { get; set; }
/// <summary>
/// Task status
/// </summary>
public SqlTaskStatus Status { get; set; }
/// <summary>
/// Database server name this task is created for
/// </summary>
public string ServerName { get; set; }
/// <summary>
/// Database name this task is created for
/// </summary>
public string DatabaseName { get; set; }
/// <summary>
/// Task name which defines the type of the task (e.g. CreateDatabase, Backup)
/// </summary>
public string Name { get; set; }
/// <summary>
/// Task description
/// </summary>
public string Description { get; set; }
}
}