Files
sqltoolsservice/src/Microsoft.SqlTools.ServiceLayer/DacFx/Contracts/GenerateDeployPlanRequest.cs
2022-03-04 16:38:01 -08:00

36 lines
1.2 KiB
C#

//
// 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.DacFx.Contracts
{
/// <summary>
/// Parameters for a DacFx generate deploy plan request.
/// </summary>
public class GenerateDeployPlanParams : DacFxParams
{
}
/// <summary>
/// Defines the DacFx generate deploy plan request type
/// </summary>
class GenerateDeployPlanRequest
{
public static readonly RequestType<GenerateDeployPlanParams, GenerateDeployPlanRequestResult> Type =
RequestType<GenerateDeployPlanParams, GenerateDeployPlanRequestResult>.Create("dacfx/generateDeployPlan");
}
/// <summary>
/// Parameters returned from a generate deploy script request.
/// </summary>
public class GenerateDeployPlanRequestResult : DacFxResult
{
/// <summary>
/// An xml string that details the alerts and the operations for deploying the specified dacpac to the database
/// </summary>
public string Report { get; set; }
}
}