mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-13 03:28:37 -05:00
* 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.
36 lines
1.2 KiB
C#
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; }
|
|
}
|
|
}
|