Files
sqltoolsservice/src/Microsoft.SqlTools.ServiceLayer/Agent/Contracts/AgentJobInfo.cs
Karl Burtram 372ca0cbe8 Agent configuration support classes (WIP) (#632)
* Additional SQL Agent config classes (WIP)

* Fix build breaks

* Clean up job step code

* Add VS Code build files

* Move changes to other machine

* More of the action execution classes

* More execution processing refactors

* More refactoring

* Disable tests for WIP merge

* Fix break on Release config

* Stage changes to other machine.
2018-06-07 12:08:24 -07:00

36 lines
1.2 KiB
C#

//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using Microsoft.SqlTools.ServiceLayer.Agent;
namespace Microsoft.SqlTools.ServiceLayer.Agent.Contracts
{
/// <summary>
/// a class for storing various properties of agent jobs,
/// used by the Job Activity Monitor
/// </summary>
public class AgentJobInfo
{
public string Name { get; set; }
public string Owner { get; set; }
public string Description { get; set; }
public int CurrentExecutionStatus { get; set; }
public int LastRunOutcome { get; set; }
public string CurrentExecutionStep { get; set; }
public bool Enabled { get; set; }
public bool HasTarget { get; set; }
public bool HasSchedule { get; set; }
public bool HasStep { get; set; }
public bool Runnable { get; set; }
public string Category { get; set; }
public int CategoryId { get; set; }
public int CategoryType { get; set; }
public string LastRun { get; set; }
public string NextRun { get; set; }
public string JobId { get; set; }
}
}