mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -05:00
Initial SQL Agent merge for March release (#595)
* Initial SQL Agent WIP * Fix test build break * wip * wip2 * additonal SQL Agent history parsing code * Fix namespace sorting * Hook up agent\jobs method * Fix broken integration test build * Added handler for job history request (#586) * fixed agent service tests * added job history handler * code review refactoring * Turn off another failing test * Disable failing test * Feature/agent1 adbist (#592) * fixed agent service tests * added job history handler * code review refactoring * refactored code * small refactor * code review changes * Remove unused code * Remove unused test file * Feature/agent1 adbist (#593) * fixed agent service tests * added job history handler * code review refactoring * refactored code * small refactor * code review changes * changed constant casing * added handler for job actions * Reenable disabled test * cleaned up code
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// 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 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; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user