mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
33 lines
1007 B
C#
33 lines
1007 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
using Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.Contracts;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
|
|
{
|
|
/// <summary>
|
|
/// Parameters to be sent back with a query execution complete event
|
|
/// </summary>
|
|
public class QueryExecuteCompleteParams
|
|
{
|
|
/// <summary>
|
|
/// URI for the editor that owns the query
|
|
/// </summary>
|
|
public string OwnerUri { get; set; }
|
|
|
|
/// <summary>
|
|
/// Summaries of the result sets that were returned with the query
|
|
/// </summary>
|
|
public BatchSummary[] BatchSummaries { get; set; }
|
|
}
|
|
|
|
public class QueryExecuteCompleteEvent
|
|
{
|
|
public static readonly
|
|
EventType<QueryExecuteCompleteParams> Type =
|
|
EventType<QueryExecuteCompleteParams>.Create("query/complete");
|
|
}
|
|
}
|