// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.DataProtocol.Contracts.Connection { public interface IConnectionSummary { /// /// Gets or sets the connection server name /// string ServerName { get; set; } /// /// Gets or sets the connection database name /// string DatabaseName { get; set; } /// /// Gets or sets the connection user name /// string UserName { get; set; } } /// /// Provides high level information about a connection. /// public class ConnectionSummary : IConnectionSummary { /// /// Gets or sets the connection server name /// public virtual string ServerName { get; set; } /// /// Gets or sets the connection database name /// public virtual string DatabaseName { get; set; } /// /// Gets or sets the connection user name /// public virtual string UserName { get; set; } } }