Skip to content

Commit fcd9ee5

Browse files
Use GenericBreakingChange instead of Obsolete
1 parent 1549fb5 commit fcd9ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Sql/Sql/Secure Connection/Cmdlet/GetAzureSqlDatabaseSecureConnectionPolicy.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using Microsoft.Azure.Commands.Sql.SecureConnection.Model;
16-
using System;
16+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
1717
using System.Management.Automation;
1818

1919
namespace Microsoft.Azure.Commands.Sql.SecureConnection.Cmdlet
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.SecureConnection.Cmdlet
2222
/// Returns the secure connection policy of a specific database.
2323
/// </summary>
2424
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SqlDatabaseSecureConnectionPolicy", SupportsShouldProcess = true), OutputType(typeof(DatabaseSecureConnectionPolicyModel))]
25-
[Obsolete("Note that secure connection is deprecated and this command will be removed in a future release. Please use the SQL database blade in the Azure portal to view the connection strings", false)]
25+
[GenericBreakingChange("Note that secure connection is deprecated and this command will be removed in a future release. Please use the SQL database blade in the Azure portal to view the connection strings")]
2626
public class GetAzureSqlDatabaseSecureConnectionPolicy : SqlDatabaseSecureConnectionCmdletBase
2727
{
2828
/// <summary>

0 commit comments

Comments
 (0)