//
// 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.Connection.Contracts
{
///
/// Parameters for the ConnectionChanged Notification.
///
public class ConnectionChangedParams
{
///
/// A URI identifying the owner of the connection. This will most commonly be a file in the workspace
/// or a virtual file representing an object in a database.
///
public string OwnerUri { get; set; }
///
/// Contains the high-level properties about the connection, for display to the user.
///
public ConnectionSummary Connection { get; set; }
}
///
/// ConnectionChanged notification mapping entry
///
public class ConnectionChangedNotification
{
public static readonly
EventType Type =
EventType.Create("connection/connectionchanged");
}
}