Skip to content

Commit 0c1a815

Browse files
committed
Add deprecation message to AddAzureASAccount cmdlet.
1 parent 45e264c commit 0c1a815

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AnalysisServices/AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
2424
using Microsoft.WindowsAzure.Commands.Common;
2525
using System;
26+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2627

2728
namespace Microsoft.Azure.Commands.AnalysisServices.Dataplane
2829
{
2930
/// <summary>
3031
/// Cmdlet to log into an Analysis Services environment
3132
/// </summary>
33+
[CmdletDeprecation("2.0.0")]
3234
[Cmdlet("Add", ResourceManager.Common.AzureRMConstants.AzurePrefix + "AnalysisServicesAccount", DefaultParameterSetName = "UserParameterSetName", SupportsShouldProcess =true)]
3335
[Alias("Login-AzureAsAccount", "Login-AzAsAccount")]
3436
[OutputType(typeof(AsAzureProfile))]

0 commit comments

Comments
 (0)