mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-20 17:24:00 -05:00
Get Connection String request handler (#665)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// 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.ServiceLayer.Connection.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// Parameters for the Get Connection String Request.
|
||||
/// </summary>
|
||||
public class GetConnectionStringParams
|
||||
{
|
||||
/// <summary>
|
||||
/// URI of the owner of the connection
|
||||
/// </summary>
|
||||
public string OwnerUri { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// 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.Hosting.Protocol.Contracts;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.Connection.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// Get Connection String request
|
||||
/// </summary>
|
||||
public class GetConnectionStringRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<GetConnectionStringParams, string> Type =
|
||||
RequestType<GetConnectionStringParams, string>.Create("connection/getconnectionstring");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user