mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
45 lines
1.3 KiB
C#
45 lines
1.3 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;
|
|
using Microsoft.SqlTools.ServiceLayer.TaskServices;
|
|
using Microsoft.SqlTools.ServiceLayer.Utility;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts
|
|
{
|
|
/// <summary>
|
|
/// Parameters for a DacFx request.
|
|
/// </summary>
|
|
public abstract class DacFxParams : IScriptableRequestParams
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets package filepath
|
|
/// </summary>
|
|
public string PackageFilePath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets name for database
|
|
/// </summary>
|
|
public string DatabaseName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Connection uri
|
|
/// </summary>
|
|
public string OwnerUri { get; set; }
|
|
|
|
/// <summary>
|
|
/// Executation mode for the operation. Default is execution
|
|
/// </summary>
|
|
public TaskExecutionMode TaskExecutionMode { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Parameters returned from a DacFx request.
|
|
/// </summary>
|
|
public class DacFxResult : ResultStatus
|
|
{
|
|
public string OperationId { get; set; }
|
|
}
|
|
}
|