// // 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 for the query dispose request /// public class QueryDisposeParams { public string OwnerUri { get; set; } } /// /// Parameters to return as the result of a query dispose request /// public class QueryDisposeResult { /// /// Any error messages that occurred during disposing the result set. Optional, can be set /// to null if there were no errors. /// public string Messages { get; set; } } public class QueryDisposeRequest { public static readonly RequestType Type = RequestType.Create("query/dispose"); } }