//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using Microsoft.SqlServer.Dac;
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
using Microsoft.SqlTools.ServiceLayer.TaskServices;
using Microsoft.SqlTools.ServiceLayer.Utility;
namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts
{
///
/// Parameters for a DacFx extract request.
///
public class ExtractParams : DacFxParams
{
///
/// Gets or sets the string identifier for the DAC application
///
public string ApplicationName { get; set; }
///
/// Gets or sets the version of the DAC application
///
public string ApplicationVersion { get; set; }
///
/// Gets or sets the target for extraction
///
public DacExtractTarget ExtractTarget { get; set; }
}
///
/// Defines the DacFx extract request type
///
class ExtractRequest
{
public static readonly RequestType Type =
RequestType.Create("dacfx/extract");
}
}