// // 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 { /// /// Parameters to be sent back as part of a QueryExecuteBatchCompleteEvent to indicate that a /// batch of a query completed. /// public class QueryExecuteBatchNotificationParams { /// /// Summary of the batch that just completed /// public BatchSummary BatchSummary { get; set; } /// /// URI for the editor that owns the query /// public string OwnerUri { get; set; } } public class QueryExecuteBatchCompleteEvent { public static readonly EventType Type = EventType.Create("query/batchComplete"); } public class QueryExecuteBatchStartEvent { public static readonly EventType Type = EventType.Create("query/batchStart"); } }