added restore options (#423)

* added restore options
This commit is contained in:
Leila Lali
2017-07-28 12:54:08 -07:00
committed by GitHub
parent e1395cbd7d
commit e453a19d00
15 changed files with 505 additions and 64 deletions

View File

@@ -3,6 +3,8 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlTools.Hosting.Hosting.Contracts;
namespace Microsoft.SqlTools.Hosting.Contracts
{
/// <summary>
@@ -19,5 +21,10 @@ namespace Microsoft.SqlTools.Hosting.Contracts
public ConnectionProviderOptions ConnectionProvider { get; set; }
public AdminServicesProviderOptions AdminServicesProvider { get; set; }
/// <summary>
/// List of features
/// </summary>
public FeatureMetadataProvider[] Features { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
//
// 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.Contracts;
namespace Microsoft.SqlTools.Hosting.Hosting.Contracts
{
/// <summary>
/// Includes the metadata for a feature
/// </summary>
public class FeatureMetadataProvider
{
/// <summary>
/// Indicates whether the feature is enabled
/// </summary>
public bool Enabled { get; set; }
/// <summary>
/// Feature name
/// </summary>
public string FeatureName { get; set; }
/// <summary>
/// The options metadata avaialble for this feature
/// </summary>
public ServiceOption[] OptionsMetadata { get; set; }
}
}