//
// 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
{
///
/// An id to unify the task
///
public string TaskId { get; set; }
///
/// Task status
///
public SqlTaskStatus Status { get; set; }
///
/// Database server name this task is created for
///
public string ServerName { get; set; }
///
/// Database name this task is created for
///
public string DatabaseName { get; set; }
///
/// Task name which defines the type of the task (e.g. CreateDatabase, Backup)
///
public string Name { get; set; }
///
/// Task description
///
public string Description { get; set; }
}
}