Microsoft.Azure.Commands.Profile.DisableAzureRmDataCollectionCommand.ExecuteCmdlet C# (CSharp) Method

ExecuteCmdlet() public method

public ExecuteCmdlet ( ) : void
return void
        public override void ExecuteCmdlet()
        {
            if (ShouldProcess(Resources.DisableDataCollection, Resources.DataCollectionDisabledWarning, string.Empty))
            {
                SetDataCollectionProfile(false);
            }
        }
    }
DisableAzureRmDataCollectionCommand