mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -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,38 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.SqlServer.Management.Common;
|
||||
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 AgentJobHistoryInfo
|
||||
{
|
||||
public int InstanceId { get; set; }
|
||||
public int SqlMessageId { get; set; }
|
||||
public string Message { get; set; }
|
||||
public int StepId { get; set; }
|
||||
public string StepName { get; set; }
|
||||
public int SqlSeverity { get; set; }
|
||||
public Guid JobId { get; set; }
|
||||
public string JobName { get; set; }
|
||||
public int RunStatus { get; set; }
|
||||
public DateTime RunDate { get; set; }
|
||||
public int RunDuration { get; set; }
|
||||
public string OperatorEmailed { get; set; }
|
||||
public string OperatorNetsent { get; set; }
|
||||
public string OperatorPaged { get; set; }
|
||||
public int RetriesAttempted { get; set; }
|
||||
public string Server { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user