mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-18 01:25:41 -05:00
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.SqlTools.Hosting.Hosting.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.DisasterRecovery;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.Utility
|
||||
{
|
||||
public class FeaturesMetadataProviderHelper
|
||||
{
|
||||
public static FeatureMetadataProvider[] CreateFratureMetadataProviders()
|
||||
{
|
||||
List<FeatureMetadataProvider> featues = new List<FeatureMetadataProvider>();
|
||||
|
||||
featues.Add(new FeatureMetadataProvider
|
||||
{
|
||||
FeatureName = "Restore",
|
||||
Enabled = true,
|
||||
OptionsMetadata = RestoreOptionsHelper.CreateRestoreOptions()
|
||||
});
|
||||
|
||||
return featues.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user