mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Add GroupName property to ConnectionOptions (#273)
This commit is contained in:
@@ -36,6 +36,8 @@ namespace Microsoft.SqlTools.Hosting.Contracts
|
|||||||
|
|
||||||
public string Description {get; set; }
|
public string Description {get; set; }
|
||||||
|
|
||||||
|
public string GroupName {get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Type of the parameter. Can be either string, number, or category.
|
/// Type of the parameter. Can be either string, number, or category.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Hosting
|
|||||||
new ConnectionOption
|
new ConnectionOption
|
||||||
{
|
{
|
||||||
Name = "Password",
|
Name = "Password",
|
||||||
Description = "SQL Loging password",
|
Description = "SQL Login password",
|
||||||
ValueType = ConnectionOption.ValueTypePassword,
|
ValueType = ConnectionOption.ValueTypePassword,
|
||||||
SpecialValueType = ConnectionOption.SpecialValuePasswordName,
|
SpecialValueType = ConnectionOption.SpecialValuePasswordName,
|
||||||
IsIdentity = true,
|
IsIdentity = true,
|
||||||
@@ -272,31 +272,25 @@ namespace Microsoft.SqlTools.ServiceLayer.Hosting
|
|||||||
{
|
{
|
||||||
Name = "Column Encrytion Setting",
|
Name = "Column Encrytion Setting",
|
||||||
ValueType = ConnectionOption.ValueTypeCategory,
|
ValueType = ConnectionOption.ValueTypeCategory,
|
||||||
|
GroupName = "Security",
|
||||||
CategoryValues = new string[] { "Disabled", "Enabled" }
|
CategoryValues = new string[] { "Disabled", "Enabled" }
|
||||||
},
|
},
|
||||||
new ConnectionOption
|
new ConnectionOption
|
||||||
{
|
{
|
||||||
Name = "Encrypt",
|
Name = "Encrypt",
|
||||||
|
GroupName = "Security",
|
||||||
ValueType = ConnectionOption.ValueTypeBoolean
|
ValueType = ConnectionOption.ValueTypeBoolean
|
||||||
},
|
},
|
||||||
new ConnectionOption
|
new ConnectionOption
|
||||||
{
|
{
|
||||||
Name = "Persist Security Info",
|
Name = "Persist Security Info",
|
||||||
|
GroupName = "Security",
|
||||||
ValueType = ConnectionOption.ValueTypeBoolean
|
ValueType = ConnectionOption.ValueTypeBoolean
|
||||||
},
|
},
|
||||||
new ConnectionOption
|
new ConnectionOption
|
||||||
{
|
{
|
||||||
Name = "Trust Server Certificate",
|
Name = "Trust Server Certificate",
|
||||||
ValueType = ConnectionOption.ValueTypeBoolean
|
GroupName = "Security",
|
||||||
},
|
|
||||||
new ConnectionOption
|
|
||||||
{
|
|
||||||
Name = "Persist Security Info",
|
|
||||||
ValueType = ConnectionOption.ValueTypeBoolean
|
|
||||||
},
|
|
||||||
new ConnectionOption
|
|
||||||
{
|
|
||||||
Name = "Trust Server Certificate",
|
|
||||||
ValueType = ConnectionOption.ValueTypeBoolean
|
ValueType = ConnectionOption.ValueTypeBoolean
|
||||||
},
|
},
|
||||||
new ConnectionOption
|
new ConnectionOption
|
||||||
|
|||||||
Reference in New Issue
Block a user